prevent duplicate or unwanted swaps
This commit is contained in:
parent
72d0f685bb
commit
5923467402
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user