Merge pull request #361 from marineam/grub

grub: search for OEM by partition label instead of filesystem label
This commit is contained in:
Michael Marineau 2014-12-15 11:27:54 -08:00
commit 66a954efa9

View File

@ -17,7 +17,7 @@ set linux_append=""
# Search for the OEM partition, load additional configuration if found. # Search for the OEM partition, load additional configuration if found.
search --no-floppy --set oem --label OEM --hint "$root" search --no-floppy --set oem --part-label OEM --hint "$root"
if [ -n "$oem" -a -f "($oem)/grub.cfg" ]; then if [ -n "$oem" -a -f "($oem)/grub.cfg" ]; then
source "($oem)/grub.cfg" source "($oem)/grub.cfg"
fi fi