diff options
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 | } | ||
