summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Kamensky <victor.kamensky7@gmail.com>2024-11-18 21:03:01 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-19 12:54:32 +0000
commit1bca7e242531382eafccf91158db159e811802fd (patch)
tree13aca98739a22ea36a87bd7539456a042f84e9ff
parent485d7013a972ae874cab7b6e281fc1dd153a44b8 (diff)
downloadpoky-1bca7e242531382eafccf91158db159e811802fd.tar.gz
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>
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
index 68f5c76428..7c9cbe0da0 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -17,6 +17,7 @@ EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \
17 --without-nss --without-avahi --without-dyninst \ 17 --without-nss --without-avahi --without-dyninst \
18 --disable-server --disable-grapher --enable-prologues \ 18 --disable-server --disable-grapher --enable-prologues \
19 --with-python3 --without-python2-probes \ 19 --with-python3 --without-python2-probes \
20 --with-extra-version="oe" \
20 ac_cv_prog_have_javac=no \ 21 ac_cv_prog_have_javac=no \
21 ac_cv_prog_have_jar=no " 22 ac_cv_prog_have_jar=no "
22 23