mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 15:11:19 +02:00
Merge pull request #361 from marineam/grub
grub: search for OEM by partition label instead of filesystem label
This commit is contained in:
commit
66a954efa9
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user