summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-06-15 10:12:26 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-17 00:07:05 +0100
commit6d698363aed26ce0e6bd239f92744dd37d7aff56 (patch)
tree1df6ee36ad4c904055d667bd8e3c83f786ff72f7
parentab8853a8fc667b92bccd39f87876a1677997283c (diff)
downloadpoky-6d698363aed26ce0e6bd239f92744dd37d7aff56.tar.gz
grub: upgrade 2.04+2.06~rc1 -> 2.06
(From OE-Core rev: 0f528608eb48809955b2610ecc4bd689f1cf8899) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-bsp/grub/grub-efi_2.06.bb (renamed from meta/recipes-bsp/grub/grub-efi_git.bb)2
-rw-r--r--meta/recipes-bsp/grub/grub2.inc19
-rw-r--r--meta/recipes-bsp/grub/grub_2.06.bb (renamed from meta/recipes-bsp/grub/grub_git.bb)0
3 files changed, 4 insertions, 17 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi_git.bb b/meta/recipes-bsp/grub/grub-efi_2.06.bb
index 240fde7dbf..287845c507 100644
--- a/meta/recipes-bsp/grub/grub-efi_git.bb
+++ b/meta/recipes-bsp/grub/grub-efi_2.06.bb
@@ -11,6 +11,8 @@ SRC_URI += " \
11 file://cfg \ 11 file://cfg \
12 " 12 "
13 13
14S = "${WORKDIR}/grub-${PV}"
15
14# Determine the target arch for the grub modules 16# Determine the target arch for the grub modules
15python __anonymous () { 17python __anonymous () {
16 import re 18 import re
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
index 3c6b434c2d..19294760c4 100644
--- a/meta/recipes-bsp/grub/grub2.inc
+++ b/meta/recipes-bsp/grub/grub2.inc
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
13 13
14CVE_PRODUCT = "grub2" 14CVE_PRODUCT = "grub2"
15 15
16SRC_URI = "https://alpha.gnu.org/gnu/grub/grub-${REALPV}.tar.xz \ 16SRC_URI = "${GNU_MIRROR}/grub/grub-${PV}.tar.gz \
17 file://0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch \ 17 file://0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch \
18 file://autogen.sh-exclude-pc.patch \ 18 file://autogen.sh-exclude-pc.patch \
19 file://grub-module-explicitly-keeps-symbole-.module_license.patch \ 19 file://grub-module-explicitly-keeps-symbole-.module_license.patch \
@@ -22,26 +22,11 @@ SRC_URI = "https://alpha.gnu.org/gnu/grub/grub-${REALPV}.tar.xz \
22 file://0001-RISC-V-Restore-the-typcast-to-long.patch \ 22 file://0001-RISC-V-Restore-the-typcast-to-long.patch \
23" 23"
24 24
25SRC_URI[sha256sum] = "2c87f1f21e2ab50043e6cd9163c08f1b6c3a6171556bf23ff9ed65b074145484" 25SRC_URI[sha256sum] = "23b64b4c741569f9426ed2e3d0e6780796fca081bee4c99f62aa3f53ae803f5f"
26
27REALPV = "2.06~rc1"
28PV = "2.04+${REALPV}"
29
30# Fixed in 2.06~rc1, can be removed for 2.06 final
31CVE_CHECK_WHITELIST += "\
32 CVE-2020-14308 CVE-2020-14309 CVE-2020-14310 CVE-2020-14311 CVE-2020-10713 \
33 CVE-2020-14372 CVE-2020-15705 CVE-2020-15706 CVE-2020-15707 \
34 CVE-2020-25632 CVE-2020-25647 CVE-2020-27749 CVE-2020-27779 \
35 CVE-2021-3418 CVE-2021-20225 CVE-2021-20233"
36 26
37# Applies only to RHEL 27# Applies only to RHEL
38CVE_CHECK_WHITELIST += "CVE-2019-14865" 28CVE_CHECK_WHITELIST += "CVE-2019-14865"
39 29
40S = "${WORKDIR}/grub-${REALPV}"
41
42UPSTREAM_CHECK_URI = "${GNU_MIRROR}/grub"
43UPSTREAM_CHECK_REGEX = "grub-(?P<pver>\d+(\.\d+)+)\.tar\.(gz|xz)"
44
45DEPENDS = "flex-native bison-native gettext-native" 30DEPENDS = "flex-native bison-native gettext-native"
46 31
47COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*|riscv.*)-(linux.*|freebsd.*)' 32COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*|riscv.*)-(linux.*|freebsd.*)'
diff --git a/meta/recipes-bsp/grub/grub_git.bb b/meta/recipes-bsp/grub/grub_2.06.bb
index d4e09faa40..d4e09faa40 100644
--- a/meta/recipes-bsp/grub/grub_git.bb
+++ b/meta/recipes-bsp/grub/grub_2.06.bb