From 3fd1a5cc1a7b13723d139ab8e6bfd228529f0fa3 Mon Sep 17 00:00:00 2001 From: Holger Paradies Date: Sat, 3 Apr 2021 18:37:28 +0200 Subject: Remove lo repository from i386 --- auto/config | 18 +++++++++++------- 1 file 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" -- cgit v1.0