summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/grub2.inc
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2016-12-08 19:09:39 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-13 22:55:19 +0000
commit08c5de41da1810d8724c332e975ba1f31757ed2f (patch)
tree6c4eef1597627705a87a6773b73cb7d838a108c2 /meta/recipes-bsp/grub/grub2.inc
parent07dcfef1ea6c6649b6d2dcc61f4f2658aafc52a9 (diff)
downloadpoky-08c5de41da1810d8724c332e975ba1f31757ed2f.tar.gz
grub2: fix some quirks and div by zero
Rather than erroring out on a single attempt while terminating EFI services, make a few retries because such quirks are found in a few implementations. Also fix a div by zero issue in the same framework which causes an infinite reboot on the target. Both patches included here are backports. (From OE-Core rev: 5e6ac806bd9b8bf885ef1e88484e91e4cdaaa69a) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub/grub2.inc')
-rw-r--r--meta/recipes-bsp/grub/grub2.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
index f64198d9f0..b69de9f340 100644
--- a/meta/recipes-bsp/grub/grub2.inc
+++ b/meta/recipes-bsp/grub/grub2.inc
@@ -33,6 +33,8 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \
33 file://fix-texinfo.patch \ 33 file://fix-texinfo.patch \
34 file://0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch \ 34 file://0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch \
35 file://0001-Enforce-no-pie-if-the-compiler-supports-it.patch \ 35 file://0001-Enforce-no-pie-if-the-compiler-supports-it.patch \
36 file://0001-grub-core-kern-efi-mm.c-grub_efi_finish_boot_service.patch \
37 file://0002-grub-core-kern-efi-mm.c-grub_efi_get_memory_map-Neve.patch \
36 " 38 "
37 39
38DEPENDS = "flex-native bison-native autogen-native" 40DEPENDS = "flex-native bison-native autogen-native"