forked from pool/grub2
88507aed88
- Fix build with gcc 4.7 (needs -fno-strict-aliasing for zfs code). - Fix error in installation to extended partition (bnc#750897) - Added BuildRequires for gnu-unifont OBS-URL: https://build.opensuse.org/request/show/110168 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=30
24 lines
1.0 KiB
Diff
24 lines
1.0 KiB
Diff
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" ;;
|
|
+
|
|
-*)
|
|
echo "Unrecognized option \`$option'" 1>&2
|
|
usage
|
|
@@ -581,7 +584,7 @@ fi
|
|
# Perform the platform-dependent install
|
|
if [ "${target_cpu}-${platform}" = "i386-pc" ] || [ "${target_cpu}-${platform}" = "sparc64-ieee1275" ] ; then
|
|
# Now perform the installation.
|
|
- "$grub_setup" ${allow_floppy} ${setup_verbose} ${setup_force} --directory="${grubdir}" \
|
|
+ "$grub_setup" ${allow_floppy} ${setup_verbose} ${setup_force} ${setup_skip_fs_probe} --directory="${grubdir}" \
|
|
--device-map="${device_map}" "${install_device}" || exit 1
|
|
elif [ "${target_cpu}-${platform}" = "i386-ieee1275" ] || [ "${target_cpu}-${platform}" = "powerpc-ieee1275" ]; then
|
|
if [ x"$update_nvram" = xyes ]; then
|