Don't do fstab twice
This commit is contained in:
parent
f21e4da8f8
commit
b10e21e58c
@ -5,9 +5,8 @@ SOCKET_PATH="/tmp/pikainstall-status.sock"
|
||||
# Clear fstab
|
||||
echo 'GEN_FSTAB' | nc -U $SOCKET_PATH || true
|
||||
touch /etc/fstab
|
||||
# Generate fstab entries
|
||||
# Install fstab packages
|
||||
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
|
||||
if [ ! -f /tmp/pika-installer-gtk4-swaplist ]
|
||||
then
|
||||
@ -45,7 +44,6 @@ apt install -y /var/cache/apt/archives/pika-refind-theme*.deb /var/cache/apt/arc
|
||||
# EFI workaround for MSI
|
||||
mkdir -p /boot/efi/EFI/BOOT
|
||||
cp -vf /boot/efi/EFI/refind/refind_x64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI
|
||||
refind-install
|
||||
# Remove installer from installed system
|
||||
echo 'LIVE_REMOVE' | nc -U $SOCKET_PATH || true
|
||||
apt remove live-boot pika-installer-gtk4 -y || true
|
||||
|
Loading…
Reference in New Issue
Block a user