mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-17 05:06:59 +00:00
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>
This commit is contained in:
@@ -17,11 +17,9 @@ do_sign[prefuncs] += "${@'check_boot_public_key' if d.getVar('GRUB_SIGN_VERIFY',
|
|||||||
|
|
||||||
do_deploy() {
|
do_deploy() {
|
||||||
install -d "${DEPLOYDIR}"
|
install -d "${DEPLOYDIR}"
|
||||||
if [ "${UEFI_SELOADER}" = "1" ] ; then
|
for SIG in ${D}/boot/*${SB_FILE_EXT}; do
|
||||||
for SIG in ${D}/boot/*${SB_FILE_EXT}; do
|
install -m 0644 ${SIG} ${DEPLOYDIR}
|
||||||
install -m 0644 ${SIG} ${DEPLOYDIR}
|
done
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
addtask deploy after do_install before do_build
|
addtask deploy after do_install before do_build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user