From 1bca7e242531382eafccf91158db159e811802fd Mon Sep 17 00:00:00 2001 From: Victor Kamensky Date: Mon, 18 Nov 2024 21:03:01 -0800 Subject: [PATCH] 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- meta/recipes-kernel/systemtap/systemtap_git.bb | 1 + 1 file changed, 1 insertion(+) 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 \ --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 "