summaryrefslogtreecommitdiffstats
path: root/meta-tpm2/recipes-tpm/tpm2-tools
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2018-11-30 09:47:18 +0800
committerJia Zhang <zhang.jia@linux.alibaba.com>2018-12-08 09:42:41 +0800
commiteed5579529af727139c2c5166a4b5504b5cdb5c3 (patch)
treeeda86ce32e76d64dcfaeb8c64c66420bf48e08dd /meta-tpm2/recipes-tpm/tpm2-tools
parent4e5557547b81ac408463c4c9f80e92b6bb1392d1 (diff)
downloadmeta-secure-core-eed5579529af727139c2c5166a4b5504b5cdb5c3.tar.gz
kernel-initramfs: only apply the bbappend if efi-secure-boot distro flag set
When the meta-efi-secure-boot layer is included but feature efi-secure-boot is not set. We got the following error with kernel-initramfs building: ERROR: kernel-initramfs-1.0-r0 do_deploy: Function failed: do_deploy (log file is located at /buildarea/build/tmp/work/genericx86_64-poky-linux/kernel-initramfs/1.0-r0/temp/log.do_deploy.16995) ERROR: Logfile of failure stored in: /buildarea/build/tmp/work/genericx86_64-poky-linux/kernel-initramfs/1.0-r0/temp/log.do_deploy.16995 Log data follows: | DEBUG: Executing python function sstate_task_prefunc | DEBUG: Python function sstate_task_prefunc finished | DEBUG: Executing shell function do_deploy | install: cannot stat '/buildarea/build/tmp/work/genericx86_64-poky-linux/kernel-initramfs/1.0-r0/image/boot/*.p7b': No such file or directory | WARNING: /buildarea/build/tmp/work/genericx86_64-poky-linux/kernel-initramfs/1.0-r0/temp/run.do_deploy.16995:1 exit 1 from 'install -m 0644 ${SIG} /buildarea/build/tmp/work/genericx86_64-poky-linux/kernel-initramfs/1.0-r0/deploy-kernel-initramfs' | ERROR: Function failed: do_deploy (log file is located at /buildarea/build/tmp/work/genericx86_64-poky-linux/kernel-initramfs/1.0-r0/temp/log.do_deploy.16995) ERROR: Task (/buildarea/poky/meta-secure-core/meta/recipes-core/images/kernel-initramfs.bb:do_deploy) failed with exit code '1' Rename kernel-initramfs.bbappend to kernel-initramfs-efi-secure-boot.inc and add a new bbappend. Make sure this piece of code should be applied only if the efi-secure-boot feature is set. Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Diffstat (limited to 'meta-tpm2/recipes-tpm/tpm2-tools')
0 files changed, 0 insertions, 0 deletions