summaryrefslogtreecommitdiff
path: root/auto/config
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2021-04-03 18:37:28 +0200
committerHolger Paradies <retabell@gmx.de>2021-04-12 18:52:28 +0200
commit3fd1a5cc1a7b13723d139ab8e6bfd228529f0fa3 (patch)
tree04acf2d201a5bd7faf06a19f5aa42c0473dd5864 /auto/config
parentd4edae35b07405bab98012473acb368ce4353c4b (diff)
downloadkanotix-3fd1a5cc1a7b13723d139ab8e6bfd228529f0fa3.zip
kanotix-3fd1a5cc1a7b13723d139ab8e6bfd228529f0fa3.tar.gz
Remove lo repository from i386
Diffstat (limited to 'auto/config')
-rwxr-xr-xauto/config18
1 files changed, 11 insertions, 7 deletions
diff --git a/auto/config b/auto/config
index 984925c..52638f8 100755
--- a/auto/config
+++ b/auto/config
@@ -59,7 +59,7 @@ lb config noauto \
--bootappend-live 'utc=no timezone=Europe/Berlin locales=de keyboard-layouts=de keyboard-variant=nodeadkeys splash' \
--archive-areas "main contrib non-free" \
--debootstrap-options "${KDEBOOTSTRAPOPTIONS}" \
- --repositories "live.debian.net lo" \
+ --repositories "" \
--security "${KSECURITY}" \
--updates "${KUPDATES}" \
--checksums md5 \
@@ -84,42 +84,42 @@ lb config noauto \
# architecture and distribution depending stuff (e.g. kernel)
case "$LB_DISTRIBUTION" in
wheezy)
- LB_REPOSITORIES+=" dragonfire dragonfire-acritox"
+ LB_REPOSITORIES+="dragonfire dragonfire-acritox"
case $LB_ARCHITECTURE in
amd64) LB_LINUX_PACKAGES="linux-image linux-headers"; LB_LINUX_FLAVOURS="amd64";;
i386) LB_LINUX_PACKAGES="linux-image linux-headers"; LB_LINUX_FLAVOURS="686-pae";;
esac
;;
jessie)
- LB_REPOSITORIES+=" dragonfire spitfire spitfire-acritox"
+ LB_REPOSITORIES+="dragonfire spitfire spitfire-acritox"
case $LB_ARCHITECTURE in
amd64) LB_LINUX_PACKAGES="linux-image linux-headers"; LB_LINUX_FLAVOURS="amd64";;
i386) LB_LINUX_PACKAGES="linux-image linux-headers"; LB_LINUX_FLAVOURS="686-pae";;
esac
;;
stretch)
- LB_REPOSITORIES+=" dragonfire spitfire steelfire"
+ LB_REPOSITORIES+="dragonfire spitfire steelfire"
case $LB_ARCHITECTURE in
amd64) LB_LINUX_PACKAGES="linux-image linux-headers"; LB_LINUX_FLAVOURS="amd64";;
i386) LB_LINUX_PACKAGES="linux-image linux-headers"; LB_LINUX_FLAVOURS="686-pae";;
esac
;;
buster)
- LB_REPOSITORIES+=" dragonfire spitfire steelfire silverfire"
+ LB_REPOSITORIES+="dragonfire spitfire steelfire silverfire"
case $LB_ARCHITECTURE in
amd64) LB_LINUX_PACKAGES="linux-image linux-headers"; LB_LINUX_FLAVOURS="amd64";;
i386) LB_LINUX_PACKAGES="linux-image linux-headers"; LB_LINUX_FLAVOURS="686-pae";;
esac
;;
bullseye)
- LB_REPOSITORIES+=" spitfire steelfire silverfire speedfire"
+ LB_REPOSITORIES+="spitfire steelfire silverfire speedfire"
case $LB_ARCHITECTURE in
amd64) LB_LINUX_PACKAGES="linux-image linux-headers"; LB_LINUX_FLAVOURS="amd64";;
i386) LB_LINUX_PACKAGES="linux-image linux-headers"; LB_LINUX_FLAVOURS="686-pae";;
esac
;;
*)
- LB_REPOSITORIES+=" spitfire steelfire silverfire speedfire"
+ LB_REPOSITORIES+="spitfire steelfire silverfire speedfire"
case $LB_ARCHITECTURE in
amd64) LB_LINUX_PACKAGES="linux-image linux-headers"; LB_LINUX_FLAVOURS="amd64";;
i386) LB_LINUX_PACKAGES="linux-image linux-headers"; LB_LINUX_FLAVOURS="686-pae";;
@@ -127,6 +127,10 @@ bullseye)
;;
esac
+if ! [ "$LB_ARCHITECTURE" = "i386" ]; then
+ LB_REPOSITORIES+=" lo"
+fi
+
[ "$LB_BOOTLOADER" = "burg" ] && LB_REPOSITORIES+=" burg"
grep -wq retabell <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" retabell"
grep -wq silverfire-extra <<<"$LB_PACKAGES_LISTS" && LB_REPOSITORIES+=" silverfire-extra llvm11"