Update pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh
This commit is contained in:
parent
b91995e017
commit
da192ebc4f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user