grub.cfg: don't scan EFI on btrfs subvols

the esp is always a fat32 partition so this makes no sensgrub.cfg: don't scan EFI on btrfs subvols

the esp is always a fat32 partition so this makes no sense

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe 2024-06-01 10:28:09 +01:00 committed by Leah Rowe
parent 0662519cca
commit 1beca3b781

View file

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