From 39065008aad25550aff6bd2051ddbbd648c2fd6c Mon Sep 17 00:00:00 2001 From: "Jean (east-high-Nerd)" Date: Fri, 11 Jul 2025 20:24:57 -0400 Subject: [PATCH] Replaced `debootstrap` with `mmdebstrap`, added packages from `install.sh` to `--include` for `mmdebstrap`, and commented out relevent section in `install.sh` --- install.sh | 42 +++++++++++++++++++++--------------------- partition.sh | 24 +++++++++++++++++++++--- 2 files changed, 42 insertions(+), 24 deletions(-) diff --git a/install.sh b/install.sh index 170286c..7e99378 100755 --- a/install.sh +++ b/install.sh @@ -90,27 +90,27 @@ if [[ "${ID}" == 'elementary' ]]; then network-manager \ openssh-{client,server} \ popularity-contest -elif [[ "${ID}" == 'debian' ]]; then - apt \ - install \ - --yes \ - 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 +# elif [[ "${ID}" == 'debian' ]]; then +# apt \ +# install \ +# --yes \ +# 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 elif [[ "${ID}" == 'fedora' ]]; then if [[ "${VERSION_ID}" -lt '41' ]]; then dnf \ diff --git a/partition.sh b/partition.sh index 5a19545..346b19d 100755 --- a/partition.sh +++ b/partition.sh @@ -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