Replaced debootstrap with mmdebstrap, added packages from install.sh to --include for mmdebstrap, and commented out relevent section in install.sh

This commit is contained in:
2025-07-11 20:24:57 -04:00
parent 043af45213
commit 39065008aa
2 changed files with 42 additions and 24 deletions

View File

@ -66,7 +66,7 @@ if [[ "${ID}" == 'debian' ]]; then
apt \
install \
--yes \
debootstrap \
mmdebstrap \
gdisk \
zfsutils-linux \
systemd-timesyncd
@ -428,11 +428,29 @@ mkdir \
/mnt/run/lock
if [[ "${ID}" == 'elementary' ]]; then
debootstrap \
mmdebstrap \
--include='' \
"${UBUNTU_VERSION_CODENAME}" \
/mnt
elif [[ "${ID}" == 'debian' ]]; then
debootstrap \
mmdebstrap \
--include=console-setup,\
cryptsetup,\
curl,\
dpkg-dev,\
efibootmgr,\
ethtool,\
firmware-{ast,atheros,bnx{2,2x},brcm80211,ipw2x00,iwlwifi,libertas,linux,realtek,zd1211},\
flatpak,\
keyboard-configuration,\
linux-{headers,image}-amd64,\
locales,\
nano,\
network-manager,\
openssh-{client,server},\
popularity-contest,\
printer-driver-all,\
tasksel \
"${VERSION_CODENAME}" \
/mnt
fi