summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2020-12-29 17:50:54 +0100
committerHolger Paradies <retabell@gmx.de>2021-01-03 19:08:20 +0100
commit25ea1a36bfd067fb160788f9a5174d5a64f4ed09 (patch)
tree11e9906ab405dd1592e2aad2d33a1ead8d58f8c8
parent75dbf2ad398ca92cb8b9abd6505f6d585d51bca8 (diff)
downloadkanotix-25ea1a36bfd067fb160788f9a5174d5a64f4ed09.zip
kanotix-25ea1a36bfd067fb160788f9a5174d5a64f4ed09.tar.gz
Add config option for security and updates
The name of the repo has changed in bullseye
-rwxr-xr-xauto/config13
1 files changed, 12 insertions, 1 deletions
diff --git a/auto/config b/auto/config
index c4140fc..1761095 100755
--- a/auto/config
+++ b/auto/config
@@ -16,6 +16,12 @@ export LB_SYSLINUX_MENU_LIVE_ENTRY="Kanotix"
export LB_LINUX_PACKAGES="linux-image linux-headers"
echo "We build $LB_DISTRIBUTION"
+# use flag for security and updates
+# since bullseye the name for security has changed, disable for now
+# live-build default is true
+KSECURITY="true"
+KUPDATES="true"
+
# since buster we need packages in debootstrap not avaible in earlier distributions
# for stretch also use mime-support (fix build error)
@@ -32,6 +38,10 @@ stretch)
buster)
KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates,gpg,gpg-agent,mime-support --exclude=nano"
;;
+bullseye)
+ KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates,gpg,gpg-agent,mime-support --exclude=nano"
+ KSECURITY="false"
+ ;;
*)
KDEBOOTSTRAPOPTIONS="--include=apt-transport-https,ca-certificates,gpg,gpg-agent,mime-support --exclude=nano"
;;
@@ -50,7 +60,8 @@ lb config noauto \
--archive-areas "main contrib non-free" \
--debootstrap-options "${KDEBOOTSTRAPOPTIONS}" \
--repositories "live.debian.net lo" \
- --security true \
+ --security "${KSECURITY}" \
+ --updates "${KUPDATES}" \
--checksums md5 \
--syslinux-timeout 5 \
--syslinux-menu true \