X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=modules%2Fapprox.mk;h=e221b0381c0cc18a393b1c3a5b6bab0c0959f7e5;hb=88d37d0badc90c2185205353edc541c89975b3b8;hp=05bda84badab938ea853b98b93fb71e69c260b17;hpb=de8f616e432b65807cbcbaba911b2e4bffda7750;p=blast diff --git a/modules/approx.mk b/modules/approx.mk index 05bda84..e221b03 100644 --- a/modules/approx.mk +++ b/modules/approx.mk @@ -7,10 +7,15 @@ 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} + deb ${approx} ${release}-backports ${approxrepos} endef else ifdef raspi BOOTSTRAP := http://localhost/raspbian @@ -23,7 +28,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