summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Gotthard <petr.gotthard@advantech.cz>2022-04-10 15:30:08 +0000
committerArmin Kuster <akuster808@gmail.com>2022-04-13 13:45:44 -0700
commitc010297b49ec5da5e995805736df817fc92a0d93 (patch)
tree11b6d8efc9c1cc46b102c76db93b56f851f48671
parent71fd7eda044a34c21dd40366a449f929f129d1a4 (diff)
downloadmeta-security-c010297b49ec5da5e995805736df817fc92a0d93.tar.gz
tpm2-tools: fix missing version number
Calling autoreconf outside git repo causes the version number to be null. This patch makes the version number fixed. Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb b/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb
index 6e95a0e..f924038 100644
--- a/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb
+++ b/meta-tpm/recipes-tpm2/tpm2-tools/tpm2-tools_5.2.bb
@@ -11,3 +11,8 @@ SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN
11SRC_URI[sha256sum] = "c0b402f6a7b3456e8eb2445211e2d41c46c7e769e05fe4d8909ff64119f7a630" 11SRC_URI[sha256sum] = "c0b402f6a7b3456e8eb2445211e2d41c46c7e769e05fe4d8909ff64119f7a630"
12 12
13inherit autotools pkgconfig bash-completion 13inherit autotools pkgconfig bash-completion
14
15do_configure:prepend() {
16 # do not extract the version number from git
17 sed -i -e 's/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/' ${S}/configure.ac
18}