From 27b71128ae04d28934d7832736909e7ae7b60838 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 7 Feb 2023 13:03:55 -0700 Subject: [PATCH] fix --- debian.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/debian.sh b/debian.sh index 8b2aece..394731c 100755 --- a/debian.sh +++ b/debian.sh @@ -32,7 +32,7 @@ HARD_DISK=$2 EFI="/dev/$(lsblk | grep $HARD_DISK | head -2 | tail -1 | cut -c 7-20 | cut -d ' ' -f1)" BTRFS="/dev/$(lsblk | grep $HARD_DISK | head -4 | tail -1 | cut -c 7-20 | cut -d ' ' -f1)" BOOT="/dev/$(lsblk | grep $HARD_DISK | head -3 | tail -1 | cut -c 7-20 | cut -d ' ' -f1)" -ROOT_NAME='deb' +ROOT_NAME='debian' #NET_BACKUP='-t cifs -o username=guest,password=123456 //192.168.0.153/backup' #HOME_BACKUP="root@server2:/raid/backup/home/" NET_BACKUP='/dev/disk/by-uuid/1a143f83-d4fe-4894-8e67-2b6d3baacea6' @@ -51,9 +51,10 @@ DEBIAN_RELEASE='stable' FLATPAKS+=( app/net.brinkervii.grapejuice org.kde.kdenlive ) #Packages -PACKAGES=" telegram-desktop minidlna keepassxc libsecret-tools libglu1-mesa preload apt-transport-https zram-tools samba samba-common nfs-common nfs-kernel-server linux-cpupower locales redis cockpit cockpit-machines cockpit-podman flatpak powertop blueman cups acpi packagekit cockpit-packagekit cockpit-pcp cockpit-storaged acpid podman ghostscript cifs-utils ntp vim-airline rsync screen base udev git network-manager efibootmgr linux-headers-amd64 cryptsetup network-manager-openvpn ntp screen docbook-xsl alsa-utils sysstat redis neofetch fuse3 build-essential unzip bash-completion parted dosfstools wget curl " -SHARED_DESKTOP_APPS=" gnome-core gimp gnome-tweaks evolution nextcloud-desktop gnome-photos handbrake vlc libreoffice " -#REMOVED=" aardvark-dns podman-compose yt-dlp podman-toolbox syncthing " +PACKAGES=" minidlna libsecret-tools libglu1-mesa preload apt-transport-https zram-tools samba samba-common nfs-common nfs-kernel-server linux-cpupower locales redis cockpit cockpit-machines cockpit-podman flatpak powertop blueman cups acpi packagekit cockpit-packagekit cockpit-pcp cockpit-storaged acpid podman ghostscript cifs-utils ntp vim-airline rsync screen base udev git network-manager efibootmgr linux-headers-amd64 cryptsetup network-manager-openvpn ntp screen docbook-xsl alsa-utils sysstat redis neofetch fuse3 build-essential unzip bash-completion parted dosfstools wget curl " +SHARED_DESKTOP_APPS=" yt-dlp keepassxc rssguard telegram-desktop gnome-core gimp gnome-tweaks evolution nextcloud-desktop gnome-photos handbrake vlc libreoffice " +#Removed for Debian Bullseye. Works on Bookworm +#REMOVED=" aardvark-dns podman-compose podman-toolbox " VIRTUALIZATION=" virt-manager qemu-system libvirt-daemon-system ovmf " PACKAGES=$PACKAGES$SHARED_DESKTOP_APPS$VIRTUALIZATION @@ -160,7 +161,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 + echo "deb https://deb.debian.org/debian-security $DEBIAN_RELEASE-security main" >>$TARGET/etc/apt/sources.list echo "deb https://deb.debian.org/debian $DEBIAN_RELEASE-updates 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"