summaryrefslogtreecommitdiff
path: root/auto/config
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2019-04-20 13:26:58 +0200
committerHolger Paradies <retabell@gmx.de>2019-04-21 08:24:56 +0200
commit08a6819b2fef1b87695f242b597acb6f48620b8e (patch)
treeec1fd797d86a716bc33700a7787e6750f9fce4f5 /auto/config
parent4513f70cb5ed667686e0866de85b65ee654bbf08 (diff)
downloadkanotix-08a6819b2fef1b87695f242b597acb6f48620b8e.zip
kanotix-08a6819b2fef1b87695f242b597acb6f48620b8e.tar.gz
Different deboostrap options since Buster
gpg gpg-agent and mime-support are needed for buster. packages needed for buster are not avaible in earlier distributions. mime-support may be needed for libre-office
Diffstat (limited to 'auto/config')
-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 \