summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2019-08-11 16:18:52 +0200
committerHolger Paradies <retabell@gmx.de>2019-08-11 16:18:52 +0200
commit63d65942397ea36e34f335952d3bc64a7af16ddd (patch)
treecea2cfd901fa9e9255af13536bdfb498a5968826
parenta0c9e2823064617700c94bc26efadb65e6a9799a (diff)
downloadkanotix-63d65942397ea36e34f335952d3bc64a7af16ddd.zip
kanotix-63d65942397ea36e34f335952d3bc64a7af16ddd.tar.gz
include mime-support in steelfire debootstrap as build-fix
-rwxr-xr-xauto/config23
1 files changed, 18 insertions, 5 deletions
diff --git a/auto/config b/auto/config
index 6425830..f1aa523 100755
--- a/auto/config
+++ b/auto/config
@@ -17,12 +17,25 @@ 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
+# for stretch also use mime-support (fix build error)
-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
+case "$LB_DISTRIBUTION" in
+wheezy)
+ KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates --exclude=nano"
+ ;;
+jessie)
+ KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates --exclude=nano"
+ ;;
+stretch)
+ KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates,mime-support --exclude=nano"
+ ;;
+buster)
+ KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates,gpg,gpg-agent,mime-support --exclude=nano"
+ ;;
+*)
+ KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates,gpg,gpg-agent,mime-support --exclude=nano"
+ ;;
+esac
lb config noauto \
--iso-volume KANOTIX \