mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-05-07 10:09:22 +00:00
shim: update to the latest
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
From 9c1636249d1bb8e0e7d108309b2747c6ede62cbb Mon Sep 17 00:00:00 2001
|
||||
From: Lans Zhang <jia.zhang@windriver.com>
|
||||
Date: Fri, 30 Jun 2017 15:50:24 +0800
|
||||
Subject: [PATCH] httpboot: fix OVMF crash
|
||||
|
||||
This is a typical typo. The free operation should be done if uri
|
||||
was allocated.
|
||||
|
||||
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
|
||||
---
|
||||
httpboot.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/httpboot.c b/httpboot.c
|
||||
index f8fbc73..e4657c1 100644
|
||||
--- a/httpboot.c
|
||||
+++ b/httpboot.c
|
||||
@@ -110,8 +110,10 @@ find_httpboot (EFI_HANDLE device)
|
||||
URI_DEVICE_PATH *UriNode;
|
||||
UINTN uri_size;
|
||||
|
||||
- if (!uri)
|
||||
+ if (uri) {
|
||||
FreePool(uri);
|
||||
+ uri = NULL;
|
||||
+ }
|
||||
|
||||
devpath = DevicePathFromHandle(device);
|
||||
if (!devpath) {
|
||||
--
|
||||
2.7.5
|
||||
|
||||
@@ -9,6 +9,7 @@ and if the binary or signing key are not blacklisted then shim will \
|
||||
relocate and execute the binary."
|
||||
HOMEPAGE = "https://github.com/rhinstaller/shim.git"
|
||||
SECTION = "bootloaders"
|
||||
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=b92e63892681ee4e8d27e7a7e87ef2bc"
|
||||
|
||||
@@ -28,15 +29,13 @@ SRC_URI = "\
|
||||
file://0010-Makefile-do-not-sign-the-efi-file.patch \
|
||||
file://0011-Update-verification_method-if-the-loaded-image-is-si.patch;apply=0 \
|
||||
file://0012-netboot-replace-the-depreciated-EFI_PXE_BASE_CODE.patch \
|
||||
file://0013-httpboot-fix-OVMF-crash.patch \
|
||||
"
|
||||
SRC_URI_append_x86-64 = "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'msft', \
|
||||
'file://shim' + d.expand('EFI_ARCH') + '.efi.signed file://LICENSE' \
|
||||
if uks_signing_model(d) == 'sample' else '', '', d)} \
|
||||
"
|
||||
|
||||
SRCREV = "919c17a45fe722dcc2b9bdaba538c738f97f88cd"
|
||||
SRCREV = "7d745e49c02146bae75027d53f24c04175f6e848"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user