mirror of
https://git.yoctoproject.org/meta-security
synced 2026-11-14 14:57:16 +00:00
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>
This commit is contained in:
1 parent
71fd7eda04
commit
c010297b49
1 file changed
+5
@@ -11,3 +11,8 @@ SRC_URI = "https://github.com/tpm2-software/${BPN}/releases/download/${PV}/${BPN
|
||||
SRC_URI[sha256sum] = "c0b402f6a7b3456e8eb2445211e2d41c46c7e769e05fe4d8909ff64119f7a630"
|
||||
|
||||
inherit autotools pkgconfig bash-completion
|
||||
|
||||
do_configure:prepend() {
|
||||
# do not extract the version number from git
|
||||
sed -i -e 's/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/' ${S}/configure.ac
|
||||
}
|
||||
Reference in new issue
Block a user