grub.cfg syslinux: support scanning /boot/EFI/

Signed-off-by: Leah Rowe <leah@libreboot.org>
9020vga
Leah Rowe 2023-12-18 10:00:23 +00:00
parent 766bb46c5f
commit b9f69f26c5
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ function search_grub {
function try_isolinux_config {
set root="${1}"
for dir in '' /boot /EFI /@ /@/boot /@/EFI; do
for dir in '' /boot /EFI /boot/EFI /@ /@/boot /@/boot/EFI /@/EFI; do
if [ -f "${dir}"/isolinux/isolinux.cfg ]; then
syslinux_configfile -i "${dir}"/isolinux/isolinux.cfg
elif [ -f "${dir}"/syslinux/syslinux.cfg ]; then