prevent duplicate or unwanted swaps

This commit is contained in:
Ward from fusion-voyager-3 2024-02-17 23:20:03 +03:00
parent 72d0f685bb
commit 5923467402

View File

@ -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