]> git.plutz.net Git - blast/blobdiff - modules/approx.mk
set up mount dir before img_mount
[blast] / modules / approx.mk
index 009e445908aad7ecdedc522294adf49d6ea97ede..1c2e9a9112c963847c27daf6c5470cf6e9229531 100644 (file)
@@ -6,8 +6,6 @@ export approx_original_sources
 ifdef approx
   BOOTSTRAP := ${approx}
   define SOURCES =
-  deb ${approx} stretch main
-  deb ${approx} buster main
   deb ${approx} ${release} main
   endef
 else ifdef raspi
@@ -21,8 +19,6 @@ else ifdef raspi
 else
   BOOTSTRAP := http://localhost/debian
   define SOURCES :=
-  deb http://localhost/debian stretch main
-  deb http://localhost/debian buster main
   deb http://localhost/debian ${release} main
   endef
 endif
@@ -31,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