summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranz Schnyder <franz.schnyder@toradex.com>2026-09-11 15:38:31 +0200
committerFranz Schnyder <franz.schnyder@toradex.com>2026-09-11 15:56:32 +0200
commit55d9fc0eca17dea0d9b4710dfc741f44dedc0565 (patch)
tree8bd7ff37a2f17c13a5c7116293e970851aed10a0
parentfb66ba2fcefa0c7fccf448fa82819229667ca718 (diff)
tpm2-tools: Add temporary fix to ensure test coverage
Add a temporary fix to resolve the build issues and ensure test coverage. The fix is straightforward. Bump the tpm2-tools recipe to 5.8. The official patch is already on the mailing list, but it has not yet been picked up by meta-security. This commit is temporary and will need to be reverted once the patch linked below has been picked up by meta-security. Link: https://lore.kernel.org/all/20260907022545.1432955-1-khem.raj@oss.qualcomm.com/ Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
-rw-r--r--recipes-tpm2/tpm2-tools/tpm2-tools_5.8.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-tpm2/tpm2-tools/tpm2-tools_5.8.bb b/recipes-tpm2/tpm2-tools/tpm2-tools_5.8.bb
new file mode 100644
index 0000000..4edd283
--- /dev/null
+++ b/recipes-tpm2/tpm2-tools/tpm2-tools_5.8.bb
@@ -0,0 +1,24 @@
+SUMMARY = "Tools for TPM2."
+DESCRIPTION = "tpm2-tools"
+HOMEPAGE = "https://github.com/tpm2-software/tpm2-tools"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=a846608d090aa64494c45fc147cc12e3"
+SECTION = "tpm"
+
+DEPENDS = "tpm2-tss openssl curl autoconf-archive-native"
+
+SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.gz"
+
+SRC_URI[sha256sum] = "1cb73185cae814b4e15c7c2d0b22642d640faf48775f4156a1fd92edf84bef73"
+
+UPSTREAM_CHECK_URI = "https://github.com/tpm2-software/${BPN}/releases"
+
+inherit autotools pkgconfig bash-completion
+
+PACKAGECONFIG ??= "efivar"
+PACKAGECONFIG[efivar] = "--with-efivar,--without-efivar,efivar"
+
+BBCLASSEXTEND = "native nativesdk"
+
+CVE_STATUS[CVE-2017-7524] = "fixed-version: Fixed since version 3.0.0"
+CVE_STATUS[CVE-2024-29039] = "fixed-version: Fixed since version 5.7"