diff --git a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh index ed1e201..a913ce3 100755 --- a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh +++ b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh @@ -5,8 +5,9 @@ SOCKET_PATH="/tmp/pikainstall-status.sock" # Clear fstab echo 'GEN_FSTAB' | nc -U $SOCKET_PATH || true touch /etc/fstab -# Install fstab packages +# Generate fstab entries 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