Skip to contentSkip to conversation

tpm2-tss: upgrade 4.0.1 -> 4.1.2

PATCH New [email protected] 1 participant 1 message May 21, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tpm2-tss: upgrade 4.0.1 -> 4.1.2

From: Valentin Kunin <[email protected]>

Bump tpm2-tss library version from 4.0.1 to 4.1.2.

This simply involves renaming the recipe and chaning the target SHA256 library file hash.

Also update the fixup_hosttools.patch to apply to the new version of the library. It stays the same functionally, but some line numbers needed to be updated to apply cleanly.

---
 .../tpm2-tss/tpm2-tss/fixup_hosttools.patch   | 25 +++++++++++++------
 .../{tpm2-tss_4.0.1.bb => tpm2-tss_4.1.2.bb}  |  2 +-
 2 files changed, 19 insertions(+), 8 deletions(-)
 rename meta-tpm/recipes-tpm2/tpm2-tss/{tpm2-tss_4.0.1.bb => tpm2-tss_4.1.2.bb} (97%)
meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss/fixup_hosttools.patch +18 -7
index 3f680ba..8822d1b 100644
@@ -1,17 +1,26 @@
-revert configure: add checks for all tools used by make install
+From ab120a9642516cdfdae5c5b8a91e42e2c9898172 Mon Sep 17 00:00:00 2001
+From: Valentin Kunin <[email protected]>
+Date: Mon, 20 May 2024 21:09:27 +0000
+Subject: [PATCH] revert configure: add checks for all tools used by make
+ install
 
 Not appropriate for cross build env.
 
 Upstream-Status: Inappropriate [OE specific]
+
 Signed-off-by: Armin Kuster <[email protected]>
+Signed-off-by: Valentin Kunin <[email protected]>
+---
+ configure.ac | 11 -----------
+ 1 file changed, 11 deletions(-)
 
-Index: tpm2-tss-4.0.1/configure.ac
-===================================================================
---- tpm2-tss-4.0.1.orig/configure.ac
-+++ tpm2-tss-4.0.1/configure.ac
-@@ -554,17 +554,6 @@ AM_CONDITIONAL(SYSD_SYSUSERS, test "x$systemd_sysusers" = "xyes")
+diff --git a/configure.ac b/configure.ac
+index eb6051ea..a52c4725 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -663,17 +663,6 @@ AM_CONDITIONAL([SYSD_SYSUSERS], [test "x$systemd_sysusers" = "xyes" && test "x$s
  AC_CHECK_PROG(systemd_tmpfiles, systemd-tmpfiles, yes)
- AM_CONDITIONAL(SYSD_TMPFILES, test "x$systemd_tmpfiles" = "xyes")
+ AM_CONDITIONAL([SYSD_TMPFILES], [test "x$systemd_tmpfiles" = "xyes" && test "x$tmpfilesdir" != "xno"])
  
 -# Check all tools used by make install
 -AS_IF([test "$HOSTOS" = "Linux" && test "x$systemd_sysusers" != "xyes"],
@@ -27,3 +36,5 @@ Index: tpm2-tss-4.0.1/configure.ac
  AC_SUBST([PATH])
  
  dnl --------- Doxy Gen -----------------------
+-- 
+2.45.0.rc1.225.g2a3ae87e7f-goog
meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_4.1.2.bb renamed from meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_4.0.1.bb +1 -1
similarity index 97%
rename from meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_4.0.1.bb
rename to meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_4.1.2.bb
index dceebc2..9e68983 100644
@@ -10,7 +10,7 @@ SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN
            file://fixup_hosttools.patch \
            "
 
-SRC_URI[sha256sum] = "532a70133910b6bd842289915b3f9423c0205c0ea009d65294ca18a74087c950"
+SRC_URI[sha256sum] = "6ad3ef0993cf3bc953710abed847ff727ab427b5577e812e3ad3197bbcec069e"
 
 UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases"
 
Signature · 1 line
2.45.1.288.g0e0cd299f1-goog