diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-09-26 08:25:37 -0700 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2017-09-26 08:25:37 -0700 |
commit | a98b71ccadc1458bf3a959e328d5ae814eb7e9b3 (patch) | |
tree | b493f2ce5b78a56a70e76435658e370d44b2eab8 /common/recipes-selftest/images/secureboot-selftest-image-unsigned.bb | |
download | meta-intel-qat-a98b71ccadc1458bf3a959e328d5ae814eb7e9b3.tar.gz |
Initial commit from meta-intel 2f1bcac3fb3b42602f689fb4a1092aa5f4cf0c8a
Diffstat (limited to 'common/recipes-selftest/images/secureboot-selftest-image-unsigned.bb')
-rw-r--r-- | common/recipes-selftest/images/secureboot-selftest-image-unsigned.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/common/recipes-selftest/images/secureboot-selftest-image-unsigned.bb b/common/recipes-selftest/images/secureboot-selftest-image-unsigned.bb new file mode 100644 index 0000000..e03e7b4 --- /dev/null +++ b/common/recipes-selftest/images/secureboot-selftest-image-unsigned.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | require recipes-core/images/core-image-minimal.bb | ||
2 | |||
3 | DEPENDS_remove = "grub-efi" | ||
4 | |||
5 | inherit uefi-comboapp | ||
6 | |||
7 | WKS_FILE = "generic-bootdisk.wks.in" | ||
8 | |||
9 | do_uefiapp_deploy_append() { | ||
10 | for i in ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.boot*.efi; do | ||
11 | target=`basename $i` | ||
12 | target=`echo $target | sed -e 's/${IMAGE_LINK_NAME}.//'` | ||
13 | |||
14 | cat > ${IMAGE_ROOTFS}/boot/startup.nsh << EOF | ||
15 | $target | ||
16 | reset | ||
17 | EOF | ||
18 | break | ||
19 | done | ||
20 | } | ||