mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 00:29:23 +00:00
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Generate
UUID search command even if hints probing failed.
This commit is contained in:
1 parent
555c786d62
commit
ef76bec332
2 files changed
+7
-2
No files matched your search
@@ -153,7 +153,7 @@ prepare_grub_to_access_device ()
|
||||
echo "set root='$fs_hint'"
|
||||
fi
|
||||
if fs_uuid="`"${grub_probe}" --device "${device}" --target=fs_uuid 2> /dev/null`" ; then
|
||||
hints="`"${grub_probe}" --device "${device}" --target=hints_string 2> /dev/null`"
|
||||
hints="`"${grub_probe}" --device "${device}" --target=hints_string 2> /dev/null`" || hints=
|
||||
echo "if [ x\$feature_platform_search_hint = xy ]; then"
|
||||
echo " search --no-floppy --fs-uuid --set=root ${hints} ${fs_uuid}"
|
||||
echo "else"
|
||||
|
||||
Reference in new issue
Block a user