Ensure python-is-python3 is installed on bullseye

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:00 -04:00
parent 92eef048b2
commit 3fb6df84e1
1 changed files with 5 additions and 0 deletions

View File

@ -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."