From 3fb6df84e1ac535fa05d23a076973d7d158f5d46 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:00 -0400 Subject: [PATCH] Ensure python-is-python3 is installed on bullseye --- templates/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/install.sh b/templates/install.sh index 610dd91..934d04e 100755 --- a/templates/install.sh +++ b/templates/install.sh @@ -782,6 +782,11 @@ echo "deb ${debmirror} ${debrelease} contrib non-free" | tee -a ${target}/etc/ap chroot ${target} apt-get update >&2 echo "done." +# python-is-python3 is critical for bullsye +if [[ ${debrelease} != "buster" ]]; then + suppkglist="python-is-python3,${suppkglist}" +fi + echo -n "Installing supplemental packages... " chroot ${target} apt-get install -y --no-install-recommends $( sed 's/,/ /g' <<<"${suppkglist}" ) >&2 echo "done."