diff options
Diffstat (limited to 'meta/recipes-bsp/grub/grub2.inc')
-rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index f870d41f6a5..9312404ed94 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc @@ -13,25 +13,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" CVE_PRODUCT = "grub2" -SRC_URI = "${GNU_MIRROR}/grub/grub-${PV}.tar.gz \ +SRC_URI = "git://git.savannah.gnu.org/git/grub.git;name=grub \ + git://git.sv.gnu.org/gnulib.git;destsuffix=git/grub-core/lib/gnulib;name=gnulib \ file://0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch \ file://autogen.sh-exclude-pc.patch \ file://grub-module-explicitly-keeps-symbole-.module_license.patch \ file://0001-grub.d-10_linux.in-add-oe-s-kernel-name.patch \ - file://CVE-2020-10713.patch \ - file://calloc-Make-sure-we-always-have-an-overflow-checking.patch \ - file://lvm-Add-LVM-cache-logical-volume-handling.patch \ - file://CVE-2020-14308-calloc-Use-calloc-at-most-places.patch \ - file://safemath-Add-some-arithmetic-primitives-that-check-f.patch \ - file://CVE-2020-14309-CVE-2020-14310-CVE-2020-14311-malloc-Use-overflow-checking-primitives-where-we-do-.patch \ - file://script-Remove-unused-fields-from-grub_script_functio.patch \ - file://CVE-2020-15706-script-Avoid-a-use-after-free-when-redefining-a-func.patch \ - file://CVE-2020-15707-linux-Fix-integer-overflows-in-initrd-size-handling.patch \ - file://6643507ce30f775008e093580f0c9499dfb2c485.patch \ file://determinism.patch \ " -SRC_URI[md5sum] = "5ce674ca6b2612d8939b9e6abed32934" -SRC_URI[sha256sum] = "f10c85ae3e204dbaec39ae22fa3c5e99f0665417e91c2cb49b7e5031658ba6ea" + +SRCREV_grub = "a53e530f8ad3770c3b03c208c08ae4162f68e3b1" +SRCREV_gnulib = "d271f868a8df9bbec29049d01e056481b7a1a263" +SRCREV_FORMAT = "grub_gnulib" + +S = "${WORKDIR}/git" DEPENDS = "flex-native bison-native gettext-native" @@ -76,6 +71,7 @@ export PYTHON = "python3" do_configure_prepend() { cd ${S} + ${S}/bootstrap --gnulib-srcdir=${S}/grub-core/lib/gnulib FROM_BOOTSTRAP=1 ${S}/autogen.sh cd ${B} } |