diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-06-23 10:09:58 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-06-26 15:47:47 -0700 |
commit | 44cb58c3e8b31508f440315647324b9f5505e1db (patch) | |
tree | bd32908f0a5f850d26c8973f704264d013c4e88d | |
parent | 6aae738ee673dbffbf712253a9bc544dca90f4ca (diff) | |
download | meta-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.bb | 18 | ||||
-rw-r--r-- | meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb | 5 |
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 @@ | |||
1 | DESCRIPTION = "A small image for building a tpm2 image for testing" | ||
2 | |||
3 | IMAGE_FEATURES += "ssh-server-openssh" | ||
4 | |||
5 | IMAGE_INSTALL = "\ | ||
6 | packagegroup-base \ | ||
7 | packagegroup-core-boot \ | ||
8 | packagegroup-security-tpm2 \ | ||
9 | os-release \ | ||
10 | " | ||
11 | |||
12 | IMAGE_LINGUAS ?= " " | ||
13 | |||
14 | LICENSE = "MIT" | ||
15 | |||
16 | inherit core-image | ||
17 | |||
18 | export 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 | ||
6 | inherit packagegroup | 6 | inherit packagegroup |
7 | 7 | ||
8 | PACKAGES = "packagegroup-security-tpm2" | 8 | PACKAGES = "${PN}" |
9 | 9 | ||
10 | SUMMARY_packagegroup-security-tpm2 = "Security TPM 2.0 support" | 10 | SUMMARY_packagegroup-security-tpm2 = "Security TPM 2.0 support" |
11 | RDEPENDS_packagegroup-security-tpm2 = " \ | 11 | RDEPENDS_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 | ||