From: Paul Hänsch Date: Sat, 7 Dec 2019 02:27:41 +0000 (+0100) Subject: introduce approxhost config variable X-Git-Url: http://git.plutz.net/?p=blast;a=commitdiff_plain;h=de8f616e432b65807cbcbaba911b2e4bffda7750 introduce approxhost config variable --- diff --git a/modules/approx.mk b/modules/approx.mk index 1c2e9a9..05bda84 100644 --- a/modules/approx.mk +++ b/modules/approx.mk @@ -3,6 +3,10 @@ ${SOURCES} endef export approx_original_sources +ifndef approxhost + approxhost := localhost +endif + ifdef approx BOOTSTRAP := ${approx} define SOURCES = @@ -11,15 +15,15 @@ ifdef approx else ifdef raspi BOOTSTRAP := http://localhost/raspbian define SOURCES := - 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 + deb http://${approxhost}/raspbian stretch main non-free firmware rpi + deb http://${approxhost}/rpidebian stretch main + deb http://${approxhost}/raspbian buster main non-free firmware rpi + deb http://${approxhost}/rpidebian buster main endef else BOOTSTRAP := http://localhost/debian define SOURCES := - deb http://localhost/debian ${release} main + deb http://${approxhost}/debian ${release} main endef endif