From: Paul Hänsch Date: Fri, 18 Dec 2020 19:06:20 +0000 (+0100) Subject: permit non-free repos in approx X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=22b2008cd89adc63ae5aa5852a24dd81448613aa;p=blast permit non-free repos in approx --- diff --git a/modules/approx.mk b/modules/approx.mk index 05bda84..f7541d7 100644 --- a/modules/approx.mk +++ b/modules/approx.mk @@ -7,10 +7,14 @@ ifndef approxhost approxhost := localhost endif +approxrepos := main +approxrepos += $(findstring contrib, ${SOURCES}) +approxrepos += $(findstring non-free, ${SOURCES}) + ifdef approx BOOTSTRAP := ${approx} define SOURCES = - deb ${approx} ${release} main + deb ${approx} ${release} ${approxrepos} endef else ifdef raspi BOOTSTRAP := http://localhost/raspbian @@ -23,7 +27,7 @@ else ifdef raspi else BOOTSTRAP := http://localhost/debian define SOURCES := - deb http://${approxhost}/debian ${release} main + deb http://${approxhost}/debian ${release} ${approxrepos} endef endif