diff options
| author | Jason Wessel <jason.wessel@windriver.com> | 2019-11-13 10:15:10 -0800 |
|---|---|---|
| committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2019-11-14 08:42:17 +0800 |
| commit | 691252f79f244c343be1af2e5f3c43c2e538cd16 (patch) | |
| tree | 777dc9d3da8c9f1db7580d688b2cf61c0735859b | |
| parent | ca003d11bbce34708b9ef3822b4b684beb7a1159 (diff) | |
| download | meta-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.inc | 8 |
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 | ||
| 18 | do_deploy() { | 18 | do_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 | } |
| 26 | addtask deploy after do_install before do_build | 24 | addtask deploy after do_install before do_build |
| 27 | 25 | ||
