summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2023-04-24 18:01:11 +0200
committerArmin Kuster <akuster808@gmail.com>2023-05-06 07:54:09 -0400
commit04e4cc112165a2f081df8e977d38e589ce8a1283 (patch)
treed6e4e22e4c86e424a819a4ee09919480ef16da95
parent53c5cc794f44df96c47c614d736c8ccd4f25139f (diff)
downloadmeta-security-04e4cc112165a2f081df8e977d38e589ce8a1283.tar.gz
tpm2-tools: Remove unnecessary and optional dependencies
* The dependency on autoconf-archive is only needed when building from the Git repository (and it should really be autoconf-archive-native). * Removing the build dependency on tpm2-abrmd does not change the output in any way, i.e., nothing is used from it. * The runtime dependency on libtss2 is added automatically by bitbake since /usr/bin/tpm2 is linked with libtss2-esys.so.0. * The runtime dependency on tpm2-abrmd is optional. Such dependencies are better handled at a higher level, e.g., by depending on packagegroup-security-tpm2. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.5.bb5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.5.bb b/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.5.bb
index ef73238..8119bb1 100644
--- a/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.5.bb
+++ b/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.5.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=a846608d090aa64494c45fc147cc12e3" 4LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=a846608d090aa64494c45fc147cc12e3"
5SECTION = "tpm" 5SECTION = "tpm"
6 6
7DEPENDS = "tpm2-abrmd tpm2-tss openssl curl autoconf-archive" 7DEPENDS = "tpm2-tss openssl curl"
8 8
9SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz" 9SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz"
10 10
@@ -13,6 +13,3 @@ SRC_URI[sha256sum] = "1fdb49c730537bfdaed088884881a61e3bfd121e957ec0bdceeec02612
13UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases" 13UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases"
14 14
15inherit autotools pkgconfig bash-completion 15inherit autotools pkgconfig bash-completion
16
17# need tss-esys
18RDEPENDS:${PN} = "libtss2 tpm2-abrmd"