add Debian 11 'bullseye' to Linux supported list

This commit is contained in:
Christer Edwards
2021-12-22 18:35:49 -07:00
parent a115ba5b87
commit 2f59bdecec
3 changed files with 20 additions and 5 deletions

View File

@@ -391,7 +391,7 @@ debootstrap_release() {
fi
case "${LINUX_FLAVOR}" in
bionic|stretch|buster)
bionic|stretch|buster|bullseye)
info "Increasing APT::Cache-Start"
echo "APT::Cache-Start 251658240;" > "${bastille_releasesdir}"/${DIR_BOOTSTRAP}/etc/apt/apt.conf.d/00aptitude
;;
@@ -556,6 +556,13 @@ debian_buster|buster|debian-buster)
ARCH_BOOTSTRAP="amd64"
debootstrap_release
;;
debian_bullseye|bullseye|debian-bullseye)
PLATFORM_OS="Debian/Linux"
LINUX_FLAVOR="bullseye"
DIR_BOOTSTRAP="Debian11"
ARCH_BOOTSTRAP="amd64"
debootstrap_release
;;
*)
usage
;;