From b10e21e58caa6eaa30eace44bfa95f8f7f3d45b8 Mon Sep 17 00:00:00 2001 From: ferreo Date: Wed, 4 Sep 2024 19:30:40 +0200 Subject: [PATCH] Don't do fstab twice --- pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh index a1f3bec..ed1e201 100755 --- a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh +++ b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh @@ -5,9 +5,8 @@ SOCKET_PATH="/tmp/pikainstall-status.sock" # Clear fstab echo 'GEN_FSTAB' | nc -U $SOCKET_PATH || true touch /etc/fstab -# Generate fstab entries +# Install fstab packages 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 # Enable zram if there's no swaplist if [ ! -f /tmp/pika-installer-gtk4-swaplist ] then @@ -45,7 +44,6 @@ apt install -y /var/cache/apt/archives/pika-refind-theme*.deb /var/cache/apt/arc # EFI workaround for MSI mkdir -p /boot/efi/EFI/BOOT cp -vf /boot/efi/EFI/refind/refind_x64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI -refind-install # Remove installer from installed system echo 'LIVE_REMOVE' | nc -U $SOCKET_PATH || true apt remove live-boot pika-installer-gtk4 -y || true