From acb9ebb754ec44edce5a51571a3329265ee4648b Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (CosmicFusion)" Date: Sat, 3 Aug 2024 00:36:58 +0200 Subject: [PATCH] Update pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh --- .../usr/lib/pika/pikainstall/pika-install-chroot.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh index 9f9b184..641a912 100755 --- a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh +++ b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh @@ -6,7 +6,6 @@ touch /etc/fstab dpkg -s arch-install-scripts || apt install -y arch-install-scripts cryptsetup genfstab -U / | grep -v zram | grep -v portal | grep -v loop | grep -v cdrom | grep -v swap > /etc/fstab # Remove packages that are only needed for the live session -apt remove casper -y apt autoremove -y # Setup Crypttab if needed if [ -f /var/albius-crypttab-root.sh ] @@ -33,17 +32,12 @@ apt install -y /var/cache/apt/archives/pika-refind-theme*.deb /var/cache/apt/arc mkdir -p /boot/efi/EFI/BOOT cp -vf /boot/efi/EFI/refind/refind_x64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI # Remove installer from installed system -apt remove casper pika-installer-gtk4 -y || true +apt remove live-boot pika-installer-gtk4 -y || true apt autoremove -y || true # Create first setup user useradd -m -k -U pikaos || true echo pikaos:pikaos | chpasswd || true usermod -a -G sudo pikaos || true -usermod -a -G lpadmin pikaos || true -mkdir -p /etc/gdm3 || true -mkdir -p /etc/sddm.conf.d/ || true -echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/custom.conf || true -echo -e '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/zautologin.conf || true mkdir -p /home/pikaos || true cp -rvf /etc/skel/.* /home/pikaos/ || true mkdir -p /home/pikaos/.config/autostart || true