From de8f616e432b65807cbcbaba911b2e4bffda7750 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sat, 7 Dec 2019 03:27:41 +0100 Subject: [PATCH] introduce approxhost config variable --- modules/approx.mk | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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 -- 2.39.2