systemtap: add --with-extra-version configure option

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

(From OE-Core rev: 37fb7c4e469baf53f85319c3cbb75af41a6ddbe7)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Victor Kamensky
2024-11-18 21:03:01 -08:00
committed by Richard Purdie
parent 485d7013a9
commit 1bca7e2425

View 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 "