Don't do fstab twice

This commit is contained in:
ferreo 2024-09-04 19:18:01 +02:00
parent 8cfd155e0a
commit c6a754ddda

View File

@ -7,7 +7,7 @@ echo 'GEN_FSTAB' | nc -U $SOCKET_PATH || true
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 | grep -v swap > /etc/fstab
#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