aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/ovmf/ovmf-shell-image-enrollkeys.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/ovmf/ovmf-shell-image-enrollkeys.bb')
-rw-r--r--recipes-core/ovmf/ovmf-shell-image-enrollkeys.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-core/ovmf/ovmf-shell-image-enrollkeys.bb b/recipes-core/ovmf/ovmf-shell-image-enrollkeys.bb
new file mode 100644
index 00000000..b20f6e58
--- /dev/null
+++ b/recipes-core/ovmf/ovmf-shell-image-enrollkeys.bb
@@ -0,0 +1,13 @@
+require recipes-core/ovmf/ovmf-shell-image.bb
+
+WKS_SEARCH_PATH_append = ":${COREBASE}/meta/recipes-core/ovmf"
+
+QB_DRIVE_TYPE = "/dev/vd"
+
+do_image_append() {
+ cat > ${IMAGE_ROOTFS}/startup.nsh << EOF
+EnrollDefaultKeys
+reset
+EOF
+
+}