diff options
Diffstat (limited to 'yocto-poky/meta/recipes-bsp/grub/files/grub-install.in.patch')
-rw-r--r-- | yocto-poky/meta/recipes-bsp/grub/files/grub-install.in.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-bsp/grub/files/grub-install.in.patch b/yocto-poky/meta/recipes-bsp/grub/files/grub-install.in.patch new file mode 100644 index 000000000..326951df4 --- /dev/null +++ b/yocto-poky/meta/recipes-bsp/grub/files/grub-install.in.patch @@ -0,0 +1,20 @@ +Upstream-Status: Inappropriate [embedded specific] + +Our use of grub-install doesn't require the -x option, so we should be +be able make use of grep versions that don't support it. + +Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> + +Index: grub-1.99/util/grub-install.in +=================================================================== +--- grub-1.99.orig/util/grub-install.in 2011-09-09 22:37:20.093906679 -0500 ++++ grub-1.99/util/grub-install.in 2011-09-09 22:37:30.854737882 -0500 +@@ -510,7 +510,7 @@ + + if [ "x${devabstraction_module}" = "x" ] ; then + if [ x"${install_device}" != x ]; then +- if echo "${install_device}" | grep -qx "(.*)" ; then ++ if echo "${install_device}" | grep -q "(.*)" ; then + install_drive="${install_device}" + else + install_drive="`"$grub_probe" --device-map="${device_map}" --target=drive --device "${install_device}"`" || exit 1 |