From ec5b0cfe7d0421a2610e0395d3db151bff9c8443 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (CosmicFusion)" Date: Wed, 18 Dec 2024 19:49:20 +0100 Subject: [PATCH] Update pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh --- pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh index 941fd4c..57b7dc6 100755 --- a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh +++ b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh @@ -47,6 +47,8 @@ REFIND_EFI_PART_DEVICE="$(df -P -h -T "/boot/efi" | awk 'END{print $1}')" REFIND_EFI_PART_BLOCK=/dev/"$(lsblk -ndo pkname $REFIND_EFI_PART_DEVICE)" REFIND_EFI_PART_DEVICE_NUM="$(echo $REFIND_EFI_PART_DEVICE | sed "s#$REFIND_EFI_PART_BLOCK##" | tr -dc '0-9')" efibootmgr -c -d "$REFIND_EFI_PART_BLOCK" -p "$REFIND_EFI_PART_DEVICE_NUM" -L "PikaOS Boot Manager" -l "\EFI\BOOT\BOOTX64.EFI" +# Change refind configration +sed -i '/^[^#]*showtools/s/^/#/' /boot/efi/EFI/BOOT/refind.conf # Remove installer from installed system echo 'LIVE_REMOVE' | nc -U $SOCKET_PATH || true apt remove pika-live-booster-hooks pika-installer-gtk4 -y || true