forked from pool/grub2
248261f8d1
update to 2.00 final OBS-URL: https://build.opensuse.org/request/show/126465 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=37
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
References: bnc#750897
|
|
|
|
---
|
|
|
|
Index: grub-1.99/util/grub-install.in
|
|
===================================================================
|
|
--- grub-1.99.orig/util/grub-install.in
|
|
+++ grub-1.99/util/grub-install.in
|
|
@@ -248,6 +248,9 @@ do
|
|
-f | --force)
|
|
setup_force="--force" ;;
|
|
|
|
+ -s | --skip-fs-probe)
|
|
+ setup_skip_fs_probe="--skip-fs-probe" ;;
|
|
+
|
|
-*)
|
|
gettext_printf "Unrecognized option \`%s'\n" "$option" 1>&2
|
|
usage
|
|
@@ -581,7 +584,7 @@ fi
|
|
# Perform the grub_modinfo_platform-dependent install
|
|
if [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "i386-pc" ] || [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "sparc64-ieee1275" ] ; then
|
|
# Now perform the installation.
|
|
- "$grub_setup" ${allow_floppy} ${setup_verbose} ${setup_force} --directory="${grubdir}/${grub_modinfo_target_cpu}-$grub_modinfo_platform" \
|
|
+ "$grub_setup" ${allow_floppy} ${setup_verbose} ${setup_force} ${setup_skip_fs_probe} --directory="${grubdir}/${grub_modinfo_target_cpu}-$grub_modinfo_platform" \
|
|
--device-map="${device_map}" "${install_device}" || exit 1
|
|
elif [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "i386-ieee1275" ] || [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "powerpc-ieee1275" ]; then
|
|
|