From: Victor Kamensky Date: Tue, 19 Nov 2024 05:03:01 +0000 (-0800) Subject: systemtap: add --with-extra-version configure option X-Git-Tag: yocto-5.2~1279 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37fb7c4e469baf53f85319c3cbb75af41a6ddbe7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Victor Kamensky Signed-off-by: Mathieu Dubois-Briand --- diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index 68f5c764282..7c9cbe0da04 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 \ --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 "