]> git.plutz.net Git - blast/blobdiff - modules/approx.mk
try updating dpkg db after restoring apt sources, this way the live system will have...
[blast] / modules / approx.mk
index 8e4fd78f4e9a40f0f8a08c24fb8d41c39f133e38..1c2e9a9112c963847c27daf6c5470cf6e9229531 100644 (file)
@@ -11,8 +11,10 @@ ifdef approx
 else ifdef raspi
   BOOTSTRAP := http://localhost/raspbian
   define SOURCES :=
-  deb http://localhost/raspbian ${release} main non-free firmware rpi
-  deb http://localhost/rpidebian ${release} main
+  deb http://localhost/raspbian  stretch main non-free firmware rpi
+  deb http://localhost/rpidebian stretch main
+  deb http://localhost/raspbian  buster main non-free firmware rpi
+  deb http://localhost/rpidebian buster main
   endef
 else
   BOOTSTRAP := http://localhost/debian
@@ -25,3 +27,4 @@ endif
 _config: _approx_restore_sources
 _approx_restore_sources: ${CFGROOT}
        printf '%s\n' "$${approx_original_sources}" >"$${CFGROOT}/etc/apt/sources.list"
+       -chroot "$${CFGROOT}" apt-get update