X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=modules%2Fapprox.mk;h=f7541d7d231d3cde159a4882e0101d9a4d4240d8;hb=c5d6bce2ed4c27cf02077a17ef02c4dee2237e86;hp=05bda84badab938ea853b98b93fb71e69c260b17;hpb=8a7dd30ff5148e54e3c4a63c675611e557fd0851;p=blast 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