From e66d6488745e1e0ef8acaf8917ea938dd4177ec7 Mon Sep 17 00:00:00 2001 From: ericbsd Date: Mon, 16 Mar 2026 18:44:51 -0300 Subject: [PATCH] Update rEFInd configuration - Replace refind.conf with refind.conf sample - Remove fallback EFI boot partition logic --- backend/functions-unmount.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/backend/functions-unmount.sh b/backend/functions-unmount.sh index c657004..020c5e9 100755 --- a/backend/functions-unmount.sh +++ b/backend/functions-unmount.sh @@ -340,7 +340,7 @@ setup_efi_boot() # We have refind on the install media, lets use that for dual-boot purposes rc_nohalt "mkdir -p ${FSMNT}/boot/efi/EFI/refind" rc_halt "cp /usr/local/refind/refind_x64.efi ${FSMNT}/boot/efi/EFI/refind/BOOTX64.EFI" - rc_halt "cp /usr/local/refind/refind.conf ${FSMNT}/boot/efi/EFI/refind/REFIND.CONF" + rc_halt "cp /usr/local/refind/refind.conf-sample ${FSMNT}/boot/efi/EFI/refind/REFIND.CONF" rc_halt "cp -r /usr/local/refind/icons ${FSMNT}/boot/efi/EFI/refind/ICONS" rc_halt "cp ${FSMNT}/boot/loader.efi ${FSMNT}/boot/efi/EFI/${LOWERCASE_SYSTEM}/BOOTX64.EFI" REFINDEFIFILE="${FSMNT}/boot/efi/EFI/refind/BOOTX64.EFI" @@ -390,16 +390,6 @@ setup_efi_boot() fi fi - # Now ensure the fallback location for the EFI boot partition exists, and make it if needed - if [ -d '/usr/local/refind' -a "$EFILOADER" = "refind" ] ; then - # We have refind on the install media, lets use that for dual-boot purposes - rc_halt "cp /usr/local/refind/refind.conf ${FSMNT}/boot/efi/EFI/BOOT/REFIND.CONF" - rc_halt "cp -r /usr/local/refind/icons ${FSMNT}/boot/efi/EFI/BOOT/ICONS" - rc_halt "cp /usr/local/refind/refind_x64.efi ${FSMNT}/boot/efi/EFI/BOOT/BOOTX64.EFI" - else - rc_halt "cp ${FSMNT}/boot/loader.efi ${FSMNT}/boot/efi/EFI/BOOT/BOOTX64.EFI" - fi - # Cleanup rc_halt "umount ${FSMNT}/boot/efi" done