Update pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh

This commit is contained in:
ferreo 2024-10-19 17:29:34 +02:00
parent d66f993f16
commit 0315d94410

View File

@ -8,6 +8,7 @@ touch /etc/fstab
# Generate fstab entries # Generate fstab entries
dpkg -s arch-install-scripts || apt install -y arch-install-scripts cryptsetup 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
sed -i 's/subvolid=.*,//' /etc/fstab
# Enable zram if there's no swaplist # Enable zram if there's no swaplist
if [ ! -f /tmp/pika-installer-gtk4-swaplist ] if [ ! -f /tmp/pika-installer-gtk4-swaplist ]
then then