aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-05-26 18:20:09 -0700
committerArmin Kuster <akuster808@gmail.com>2019-05-26 21:58:11 -0700
commitde00a8fd41b576d6b2afc4d457ed6f3f6eeb273a (patch)
tree276f7fb96ca9894ea3212e1f62df3f1e7ac3d807
parent0acb5d2c7dcacc63f10ca71044b4d80e82d90684 (diff)
downloadmeta-security-de00a8fd41b576d6b2afc4d457ed6f3f6eeb273a.tar.gz
meta-security-de00a8fd41b576d6b2afc4d457ed6f3f6eeb273a.tar.bz2
meta-security-de00a8fd41b576d6b2afc4d457ed6f3f6eeb273a.zip
image: add image for testing
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-integrity/recipes-core/images/integrity-image-minimal.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-integrity/recipes-core/images/integrity-image-minimal.bb b/meta-integrity/recipes-core/images/integrity-image-minimal.bb
new file mode 100644
index 0000000..6ed724d
--- /dev/null
+++ b/meta-integrity/recipes-core/images/integrity-image-minimal.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "An image as an exmaple for Ima support"
+
+IMAGE_FEATURES += "ssh-server-openssh"
+
+
+IMAGE_INSTALL = "\
+ packagegroup-base \
+ packagegroup-core-boot \
+ packagegroup-ima-evm-utils \
+ os-release"
+
+
+LICENSE = "MIT"
+
+inherit core-image
+
+export IMAGE_BASENAME = "integrity-image-minimal"
+
+INHERIT += "ima-evm-rootfs"
+IMA_EVM_KEY_DIR = "${IMA_EVM_BASE}/data/debug-keys"
+
+QB_KERNEL_CMDLINE_APPEND_append = " ima_appraise=fix ima_policy=tcb ima_policy=appraise_tcb"