]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
systemtap: add --with-extra-version configure option
authorVictor Kamensky <victor.kamensky7@gmail.com>
Tue, 19 Nov 2024 05:03:01 +0000 (21:03 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Nov 2024 12:54:30 +0000 (12:54 +0000)
When --with-extra-version="oe" option is used, systemtap code
stop using GIT_PRETTY_REV that comes from
'git describe --dirty --always --abbrev=8' output in its version
and uses --with-extra-version value instead. 'git describe' output
has reproducibility issue since it depends on commits present in
lattest branch, and that may change. Thus using fixed value instead
addresses systemtap reproducibility issue.

[YOCTO #15288]
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15288

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-kernel/systemtap/systemtap_git.bb

index 68f5c764282f77aeca610e36f1f0874cfdf1f68a..7c9cbe0da040e098b336c7189a892bf405cd9291 100644 (file)
@@ -17,6 +17,7 @@ EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \
             --without-nss --without-avahi --without-dyninst \
             --disable-server --disable-grapher --enable-prologues \
             --with-python3 --without-python2-probes \
+            --with-extra-version="oe" \
             ac_cv_prog_have_javac=no \
             ac_cv_prog_have_jar=no "