summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2019-11-13 10:15:10 -0800
committerJia Zhang <zhang.jia@linux.alibaba.com>2019-11-14 08:42:17 +0800
commit691252f79f244c343be1af2e5f3c43c2e538cd16 (patch)
tree777dc9d3da8c9f1db7580d688b2cf61c0735859b
parentca003d11bbce34708b9ef3822b4b684beb7a1159 (diff)
downloadmeta-secure-core-691252f79f244c343be1af2e5f3c43c2e538cd16.tar.gz
kernel-initramfs-efi-secure-boot.inc: Copy .sig files and .p7b
While refactoring the code to eliminate the overlap in the copy of the .sig and .p7b files the UEFI_SELOADER test was not removed. This results in the .sig files not getting copied to the deploy directory when using the GRUB_SIGN_VERIFY = "1". All that is needed is to remove the UEFI_SELOADER test statement. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
-rw-r--r--meta-efi-secure-boot/recipes-core/images/kernel-initramfs-efi-secure-boot.inc8
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-efi-secure-boot/recipes-core/images/kernel-initramfs-efi-secure-boot.inc b/meta-efi-secure-boot/recipes-core/images/kernel-initramfs-efi-secure-boot.inc
index 1a7a74f..478be22 100644
--- a/meta-efi-secure-boot/recipes-core/images/kernel-initramfs-efi-secure-boot.inc
+++ b/meta-efi-secure-boot/recipes-core/images/kernel-initramfs-efi-secure-boot.inc
@@ -17,11 +17,9 @@ do_sign[prefuncs] += "${@'check_boot_public_key' if d.getVar('GRUB_SIGN_VERIFY',
17 17
18do_deploy() { 18do_deploy() {
19 install -d "${DEPLOYDIR}" 19 install -d "${DEPLOYDIR}"
20 if [ "${UEFI_SELOADER}" = "1" ] ; then 20 for SIG in ${D}/boot/*${SB_FILE_EXT}; do
21 for SIG in ${D}/boot/*${SB_FILE_EXT}; do 21 install -m 0644 ${SIG} ${DEPLOYDIR}
22 install -m 0644 ${SIG} ${DEPLOYDIR} 22 done
23 done
24 fi
25} 23}
26addtask deploy after do_install before do_build 24addtask deploy after do_install before do_build
27 25