mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-04 03:33:41 +01:00
Update bootstrap.sh
Changes to include more recent Linux/Debian releases
This commit is contained in:
@@ -399,7 +399,7 @@ debootstrap_release() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
case "${LINUX_FLAVOR}" in
|
case "${LINUX_FLAVOR}" in
|
||||||
bionic|stretch|buster|bullseye)
|
bionic|buster|bullseye|bookworm)
|
||||||
info "Increasing APT::Cache-Start"
|
info "Increasing APT::Cache-Start"
|
||||||
echo "APT::Cache-Start 251658240;" > "${bastille_releasesdir}"/${DIR_BOOTSTRAP}/etc/apt/apt.conf.d/00aptitude
|
echo "APT::Cache-Start 251658240;" > "${bastille_releasesdir}"/${DIR_BOOTSTRAP}/etc/apt/apt.conf.d/00aptitude
|
||||||
;;
|
;;
|
||||||
@@ -567,13 +567,6 @@ ubuntu_focal|focal|ubuntu-focal)
|
|||||||
ARCH_BOOTSTRAP=${HW_MACHINE_ARCH_LINUX}
|
ARCH_BOOTSTRAP=${HW_MACHINE_ARCH_LINUX}
|
||||||
debootstrap_release
|
debootstrap_release
|
||||||
;;
|
;;
|
||||||
debian_stretch|stretch|debian-stretch)
|
|
||||||
PLATFORM_OS="Debian/Linux"
|
|
||||||
LINUX_FLAVOR="stretch"
|
|
||||||
DIR_BOOTSTRAP="Debian9"
|
|
||||||
ARCH_BOOTSTRAP=${HW_MACHINE_ARCH_LINUX}
|
|
||||||
debootstrap_release
|
|
||||||
;;
|
|
||||||
debian_buster|buster|debian-buster)
|
debian_buster|buster|debian-buster)
|
||||||
PLATFORM_OS="Debian/Linux"
|
PLATFORM_OS="Debian/Linux"
|
||||||
LINUX_FLAVOR="buster"
|
LINUX_FLAVOR="buster"
|
||||||
@@ -588,6 +581,13 @@ debian_bullseye|bullseye|debian-bullseye)
|
|||||||
ARCH_BOOTSTRAP=${HW_MACHINE_ARCH_LINUX}
|
ARCH_BOOTSTRAP=${HW_MACHINE_ARCH_LINUX}
|
||||||
debootstrap_release
|
debootstrap_release
|
||||||
;;
|
;;
|
||||||
|
debian_bookworm|bookworm|debian-bookworm)
|
||||||
|
PLATFORM_OS="Debian/Linux"
|
||||||
|
LINUX_FLAVOR="bookworm"
|
||||||
|
DIR_BOOTSTRAP="Debian12"
|
||||||
|
ARCH_BOOTSTRAP=${HW_MACHINE_ARCH_LINUX}
|
||||||
|
debootstrap_release
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
usage
|
usage
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user