]> git.plutz.net Git - blast/blobdiff - modules/approx.mk
xfce4-screensaver config (for trixie)
[blast] / modules / approx.mk
index 05bda84badab938ea853b98b93fb71e69c260b17..0847c0bf6036bb6a4b86c16a81d53dbfa7c1ae78 100644 (file)
@@ -7,10 +7,16 @@ ifndef approxhost
   approxhost := localhost
 endif
 
+approxrepos := main
+approxrepos += $(findstring contrib, ${SOURCES})
+approxrepos += $(findstring non-free-fimware, ${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 +29,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