[meta-parsec,v2,2/3] meta-parsec: add build image.

Message ID 20220523140901.35347-2-akuster808@gmail.com
State Accepted, archived
Delegated to: Armin Kuster
Headers show
Series [meta-parsec,v2,1/3] meta-parsec: Add pkg grps | expand

Commit Message

akuster808 May 23, 2022, 2:09 p.m. UTC
Signed-off-by: Armin Kuster <akuster808@gmail.com>

---
v2]
Use packagegroup-security-tpm2
add swtpm
---
 .../images/security-parsec-image.bb             | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-parsec/recipes-core/images/security-parsec-image.bb

Patch

diff --git a/meta-parsec/recipes-core/images/security-parsec-image.bb b/meta-parsec/recipes-core/images/security-parsec-image.bb
new file mode 100644
index 0000000..2ddc543
--- /dev/null
+++ b/meta-parsec/recipes-core/images/security-parsec-image.bb
@@ -0,0 +1,17 @@ 
+DESCRIPTION = "A small image for building meta-parsec packages"
+
+inherit core-image
+
+IMAGE_FEATURES += "ssh-server-openssh"
+
+IMAGE_INSTALL = "\
+    packagegroup-base \
+    packagegroup-core-boot \
+    packagegroup-security-tpm2 \
+    packagegroup-security-parsec \
+    swtpm \
+    os-release" 
+
+export IMAGE_BASENAME = "security-parsec-image"
+
+IMAGE_ROOTFS_EXTRA_SPACE = "5242880"