fix
This commit is contained in:
parent
bb70f12113
commit
4b2615ad8a
@ -160,6 +160,7 @@ install() {
|
|||||||
cp -f /etc/resolv.conf $TARGET/etc/
|
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 "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 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/apt update
|
||||||
chroot $TARGET /usr/bin/bash -c "export DEBIAN_FRONTEND=noninteractive;/usr/bin/apt install -y $PACKAGES"
|
chroot $TARGET /usr/bin/bash -c "export DEBIAN_FRONTEND=noninteractive;/usr/bin/apt install -y $PACKAGES"
|
||||||
cp -f debian.tar $TARGET/etc/default/
|
cp -f debian.tar $TARGET/etc/default/
|
||||||
@ -188,7 +189,7 @@ desktop(){
|
|||||||
systemctl disable --now rpbind
|
systemctl disable --now rpbind
|
||||||
systemctl disable --now bluetooth
|
systemctl disable --now bluetooth
|
||||||
apt -y purge apparmor
|
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
|
apt autoremove -y
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user