From f2727f095a4db68e206588ca2df82de3cde5ad05 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (CosmicFusion)" Date: Sat, 4 Jan 2025 18:58:16 +0100 Subject: [PATCH] Update pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh --- .../usr/lib/pika/pikainstall/pika-install-chroot.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh index 97ced1f..6111c83 100755 --- a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh +++ b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh @@ -42,14 +42,7 @@ echo 'BOOTLOADER' | nc -U $SOCKET_PATH || true chmod +x /var/albius-refind_linux.sh /var/albius-refind_linux.sh apt install -y /var/cache/apt/archives/pika-refind-theme*.deb /var/cache/apt/archives/booster*.deb -# Add Refind Boot Entry -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')" -mkdir -pv "/boot/efi/EFI/refind" -cp -vf "/boot/efi/EFI/BOOT/bootx64.efi" "/boot/efi/EFI/refind/refind_x64.efi" -efibootmgr -c -d "$REFIND_EFI_PART_BLOCK" -p "$REFIND_EFI_PART_DEVICE_NUM" -L "PikaOS Boot Manager" -l "\EFI\BOOT\bootx64.EFI" -efibootmgr -c -d "$REFIND_EFI_PART_BLOCK" -p "$REFIND_EFI_PART_DEVICE_NUM" -L "Refind Boot Manager" -l "\EFI\refind\refind_x64.efi" +refind-mkdefault # Change refind configuration sed -i '/^[^#]*showtools/s/^/#/' /boot/efi/EFI/BOOT/refind.conf # Remove installer from installed system