From: Valentin Kunin <ku...@google.com>

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.

Signed-off-by: Valentin Kunin <ku...@google.com>
---
 .../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%)

diff --git a/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss/fixup_hosttools.patch 
b/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss/fixup_hosttools.patch
index 3f680ba..8822d1b 100644
--- a/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss/fixup_hosttools.patch
+++ b/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss/fixup_hosttools.patch
@@ -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 <ku...@google.com>
+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 <akuster...@gmail.com>
+Signed-off-by: Valentin Kunin <ku...@google.com>
+---
+ 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
diff --git a/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_4.0.1.bb 
b/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_4.1.2.bb
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
--- a/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_4.0.1.bb
+++ b/meta-tpm/recipes-tpm2/tpm2-tss/tpm2-tss_4.1.2.bb
@@ -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";
 
-- 
2.45.1.288.g0e0cd299f1-goog

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63159): https://lists.yoctoproject.org/g/yocto/message/63159
Mute This Topic: https://lists.yoctoproject.org/mt/106231153/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to