summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rwxr-xr-xauto/config11
1 files changed, 10 insertions, 1 deletions
diff --git a/auto/config b/auto/config
index 7a31f38..38c30e0 100755
--- a/auto/config
+++ b/auto/config
@@ -15,6 +15,15 @@ export LB_BOOTLOADER="grub2"
export LB_SYSLINUX_MENU_LIVE_ENTRY="Kanotix"
export LB_LINUX_PACKAGES="linux-image linux-headers"
+echo "We build $LB_DISTRIBUTION"
+# since buster we need packages in debootstrap not avaible in earlier distributions
+
+if [ "$LB_DISTRIBUTION" = "wheezy" -o "$LB_DISTRIBUTION" = "jessie" -o "$LB_DISTRIBUTION" = "stretch" ]; then
+ KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates --exclude=nano"
+else
+ KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates,gpg,gpg-agent,mime-support --exclude=nano"
+fi
+
lb config noauto \
--iso-volume KANOTIX \
--iso-preparer kanotix.com \
@@ -26,7 +35,7 @@ lb config noauto \
--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" \
- --debootstrap-options "--include=apt-transport-https,ca-certificates --exclude=nano" \
+ --debootstrap-options "${KDEBOOTSTRAPOPTIONS}" \
--repositories "live.debian.net lo" \
--security true \
--checksums md5 \