X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=modules%2Fapprox.mk;h=1c2e9a9112c963847c27daf6c5470cf6e9229531;hb=0bbe0a6f3481469600e18ed7cece050d4a67f6ec;hp=ca3f34ad01820ad648a7acb41f0ce95c77422aa3;hpb=92dfcb2f828b2bb5eaa5b127ffa1a4bf15432335;p=blast diff --git a/modules/approx.mk b/modules/approx.mk index ca3f34a..1c2e9a9 100644 --- a/modules/approx.mk +++ b/modules/approx.mk @@ -4,22 +4,22 @@ endef export approx_original_sources ifdef approx - -BOOTSTRAP := ${approx} -define SOURCES = -deb ${approx} stretch main -endef - + BOOTSTRAP := ${approx} + define SOURCES = + deb ${approx} ${release} main + endef else ifdef raspi BOOTSTRAP := http://localhost/raspbian define SOURCES := - deb http://localhost/raspbian stretch main non-free firmware rpi + 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 define SOURCES := - deb http://localhost/debian stretch main + deb http://localhost/debian ${release} main endef endif @@ -27,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