From da192ebc4f68dddb69fb90e5507f0ea89774045f Mon Sep 17 00:00:00 2001 From: ferreo Date: Thu, 5 Sep 2024 11:55:37 +0200 Subject: [PATCH] Update pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh --- pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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