From 5923467402423d244911edbd1b97088a0639244f Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Sat, 17 Feb 2024 23:20:03 +0300 Subject: [PATCH] prevent duplicate or unwanted swaps --- pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh | 2 +- 1 file changed, 1 insertion(+), 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 d4dfbc4..c680227 100755 --- a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh +++ b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh @@ -4,7 +4,7 @@ touch /etc/fstab # 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 > /etc/fstab +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