From 04e4cc112165a2f081df8e977d38e589ce8a1283 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Mon, 24 Apr 2023 18:01:11 +0200 Subject: 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 Signed-off-by: Armin Kuster --- meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.5.bb | 5 +---- 1 file changed, 1 insertion(+), 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" LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=a846608d090aa64494c45fc147cc12e3" SECTION = "tpm" -DEPENDS = "tpm2-abrmd tpm2-tss openssl curl autoconf-archive" +DEPENDS = "tpm2-tss openssl curl" SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz" @@ -13,6 +13,3 @@ SRC_URI[sha256sum] = "1fdb49c730537bfdaed088884881a61e3bfd121e957ec0bdceeec02612 UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases" inherit autotools pkgconfig bash-completion - -# need tss-esys -RDEPENDS:${PN} = "libtss2 tpm2-abrmd" -- cgit v1.2.3-54-g00ecf