From 01bdc2918cfe74da7d6615711d5544b505429ddc Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Sat, 2 Oct 2021 20:37:38 +0200 Subject: swtpm: update to 0.6.1 swtpm no longer depends on Python[1] so the dependencies have been removed. "inherit perlnative" has been added due to (in oe-core): deda455b3c ("bitbake.conf: drop pod2man from hosttools") Some leftover dependencies have also been removed, ex: tpm-tools required in the past by swtpm_setup.sh (<0.4.0)[2]. [1] https://github.com/stefanberger/swtpm/issues/437 [2] https://github.com/stefanberger/swtpm/commit/eee8cb5dfb13f87140dddda38f65bf61aff19508 Signed-off-by: Kristian Klausen Signed-off-by: Armin Kuster --- .../recipes-tpm/swtpm/swtpm-wrappers-native.bb | 12 ++--- meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb | 54 ---------------------- meta-tpm/recipes-tpm/swtpm/swtpm_0.6.1.bb | 51 ++++++++++++++++++++ 3 files changed, 55 insertions(+), 62 deletions(-) delete mode 100644 meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb create mode 100644 meta-tpm/recipes-tpm/swtpm/swtpm_0.6.1.bb diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm-wrappers-native.bb b/meta-tpm/recipes-tpm/swtpm/swtpm-wrappers-native.bb index 644f3ac..bb93374 100644 --- a/meta-tpm/recipes-tpm/swtpm/swtpm-wrappers-native.bb +++ b/meta-tpm/recipes-tpm/swtpm/swtpm-wrappers-native.bb @@ -1,6 +1,6 @@ SUMMARY = "SWTPM - OpenEmbedded wrapper scripts for native swtpm tools" LICENSE = "MIT" -DEPENDS = "swtpm-native tpm-tools-native net-tools-native" +DEPENDS = "swtpm-native" inherit native @@ -14,23 +14,19 @@ do_create_wrapper () { for i in `find ${bindir} ${base_bindir} ${sbindir} ${base_sbindir} -name 'swtpm*' -perm /+x -type f`; do exe=`basename $i` case $exe in - swtpm_setup.sh) + swtpm_setup) cat >${WORKDIR}/swtpm_setup_oe.sh <${WORKDIR}/${exe}_oe.sh <