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

This commit is contained in:
ferreo 2024-09-05 11:55:37 +02:00
parent b91995e017
commit da192ebc4f

View File

@ -5,8 +5,9 @@ SOCKET_PATH="/tmp/pikainstall-status.sock"
# Clear fstab # Clear fstab
echo 'GEN_FSTAB' | nc -U $SOCKET_PATH || true echo 'GEN_FSTAB' | nc -U $SOCKET_PATH || true
touch /etc/fstab touch /etc/fstab
# Install fstab packages # 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
# 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