This commit is contained in:
Your Name 2023-02-06 08:21:02 -07:00
parent bb70f12113
commit 4b2615ad8a

View File

@ -160,6 +160,7 @@ install() {
cp -f /etc/resolv.conf $TARGET/etc/
echo "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" > $TARGET/setup.sh
echo "deb https://deb.debian.org/debian $DEBIAN_RELEASE main contrib non-free" >>$TARGET/etc/apt/sources.list
echo "deb deb https://deb.debian.org/debian-security $DEBIAN_RELEASE-security main" >>$TARGET/etc/apt/sources.list
chroot $TARGET /usr/bin/apt update
chroot $TARGET /usr/bin/bash -c "export DEBIAN_FRONTEND=noninteractive;/usr/bin/apt install -y $PACKAGES"
cp -f debian.tar $TARGET/etc/default/
@ -188,7 +189,7 @@ desktop(){
systemctl disable --now rpbind
systemctl disable --now bluetooth
apt -y purge apparmor
apt remove unattended-upgrades firefox-esr -y
apt remove unattended-upgrades chromium firefox-esr epiphany-browser epiphany-browser-data -y
apt autoremove -y
}