summaryrefslogtreecommitdiff
path: root/auto/config
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2024-03-09 11:34:42 +0100
committerHolger Paradies <retabell@gmx.de>2024-03-09 11:42:02 +0100
commite20b4059cad4c995ebd6771508c43fbbc2be4a93 (patch)
tree3c3d3c6d0b4ff02217b747449fe7beeabfc1f4a4 /auto/config
parentefa8ecf50a366732ebcf446db167b409f39e947e (diff)
downloadkanotix-e20b4059cad4c995ebd6771508c43fbbc2be4a93.zip
kanotix-e20b4059cad4c995ebd6771508c43fbbc2be4a93.tar.gz
Enhance debian repository area
Diffstat (limited to 'auto/config')
-rwxr-xr-xauto/config9
1 files changed, 7 insertions, 2 deletions
diff --git a/auto/config b/auto/config
index 4790152..4567a15 100755
--- a/auto/config
+++ b/auto/config
@@ -21,25 +21,30 @@ echo "We build $LB_DISTRIBUTION"
# live-build default is true
KSECURITY="true"
KUPDATES="true"
-
+KARCHIVEAREAS="main contrib non-free non-free-firmware"
# since buster we need packages in debootstrap not avaible in earlier distributions
# for stretch also use mime-support (fix build error)
case "$LB_DISTRIBUTION" in
wheezy)
KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates --exclude=nano"
+ KARCHIVEAREAS="main contrib non-free"
;;
jessie)
KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates --exclude=nano"
+ KARCHIVEAREAS="main contrib non-free"
;;
stretch)
KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates,mime-support --exclude=nano"
+ KARCHIVEAREAS="main contrib non-free"
;;
buster)
KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates,gpg,gpg-agent,mime-support --exclude=nano"
+ KARCHIVEAREAS="main contrib non-free"
;;
bullseye)
KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates,gpg,gpg-agent,mime-support --exclude=nano"
+ KARCHIVEAREAS="main contrib non-free"
KSECURITY="true"
;;
*)
@@ -57,7 +62,7 @@ lb config noauto \
--apt apt \
--apt-recommends false \
--bootappend-live 'utc=no timezone=Europe/Berlin locales=de keyboard-layouts=de keyboard-variant=nodeadkeys splash' \
- --archive-areas "main contrib non-free" \
+ --archive-areas "${KARCHIVEAREAS}" \
--debootstrap-options "${KDEBOOTSTRAPOPTIONS}" \
--repositories "" \
--security "${KSECURITY}" \