summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-06-23 10:09:58 -0700
committerArmin Kuster <akuster808@gmail.com>2019-06-26 15:47:47 -0700
commit44cb58c3e8b31508f440315647324b9f5505e1db (patch)
treebd32908f0a5f850d26c8973f704264d013c4e88d
parent6aae738ee673dbffbf712253a9bc544dca90f4ca (diff)
downloadmeta-security-44cb58c3e8b31508f440315647324b9f5505e1db.tar.gz
tpm2 images: create tpm2 image and fix packagegroup
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-tpm/recipes-core/images/security-tpm2-image.bb18
-rw-r--r--meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb5
2 files changed, 22 insertions, 1 deletions
diff --git a/meta-tpm/recipes-core/images/security-tpm2-image.bb b/meta-tpm/recipes-core/images/security-tpm2-image.bb
new file mode 100644
index 0000000..7e047d1
--- /dev/null
+++ b/meta-tpm/recipes-core/images/security-tpm2-image.bb
@@ -0,0 +1,18 @@
1DESCRIPTION = "A small image for building a tpm2 image for testing"
2
3IMAGE_FEATURES += "ssh-server-openssh"
4
5IMAGE_INSTALL = "\
6 packagegroup-base \
7 packagegroup-core-boot \
8 packagegroup-security-tpm2 \
9 os-release \
10"
11
12IMAGE_LINGUAS ?= " "
13
14LICENSE = "MIT"
15
16inherit core-image
17
18export IMAGE_BASENAME = "security-tpm2-image"
diff --git a/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb b/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb
index 5ded3a2..9296d99 100644
--- a/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb
+++ b/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb
@@ -5,17 +5,20 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
5 5
6inherit packagegroup 6inherit packagegroup
7 7
8PACKAGES = "packagegroup-security-tpm2" 8PACKAGES = "${PN}"
9 9
10SUMMARY_packagegroup-security-tpm2 = "Security TPM 2.0 support" 10SUMMARY_packagegroup-security-tpm2 = "Security TPM 2.0 support"
11RDEPENDS_packagegroup-security-tpm2 = " \ 11RDEPENDS_packagegroup-security-tpm2 = " \
12 tpm2-tools \ 12 tpm2-tools \
13 trousers \ 13 trousers \
14 tpm2-tss \
14 libtss2 \ 15 libtss2 \
16 libtss2-mu \
15 libtss2-tcti-device \ 17 libtss2-tcti-device \
16 libtss2-tcti-mssim \ 18 libtss2-tcti-mssim \
17 tpm2-abrmd \ 19 tpm2-abrmd \
18 tpm2-pkcs11 \ 20 tpm2-pkcs11 \
21 ibmswtpm2 \
19 cryptsetup-tpm-incubator \ 22 cryptsetup-tpm-incubator \
20 " 23 "
21 24