Files
meta-openembedded/meta-oe/conf/version-check.conf
T
Changqing Li 2ee46eed41 turbostat: make turbostat's version align with kernel version
* Current PV 3.4 is the kernel version when the recipe is newly added,
set PKGV to KERNEL_VERSION to make it always align with kernel version
* turbostat has its runtime version, set CHECK_VERSION_PV to this version to mute
the version mismatch warning
[snip of turbostat.c]
void print_version()
{
    fprintf(outf, "turbostat version 2024.07.26 - Len Brown <lenb@kernel.org>\n");
}
[snip]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2025-05-17 11:56:50 -06:00

26 lines
945 B
Plaintext

INHERIT += "check-version-mismatch"
# we need ps command to clean stale processes
HOSTTOOLS += "ps"
# Special cases that need to be handled.
# % has the same meaning as in bbappend files, that is, match any chars.
# oe-core
CHECK_VERSION_PV:pn-rust-llvm = "${LLVM_RELEASE}"
CHECK_VERSION_PV:pn-igt-gpu-tools = "${PV}-${PV}"
CHECK_VERSION_PV:pn-vim = "${@'.'.join(d.getVar('PV').split('.')[:-1])}"
CHECK_VERSION_PV:pn-vim-tiny = "${@'.'.join(d.getVar('PV').split('.')[:-1])}"
CHECK_VERSION_PV:pn-ncurses = "${PV}.%"
CHECK_VERSION_PV:pn-alsa-tools = "%"
CHECK_VERSION_PV:pn-gst-examples = "%"
CHECK_VERSION_PV:pn-libedit = "${@d.getVar('PV').split('-')[1]}"
# meta-oe
CHECK_VERSION_PV:pn-iozone3 = "3.${PV}"
CHECK_VERSION_PV:pn-can-utils = "%"
CHECK_VERSION_PV:pn-luajit = "${PV}.%"
CHECK_VERSION_PV:pn-sg3-utils = "%"
CHECK_VERSION_PV:pn-netperf = "2.7.%"
CHECK_VERSION_PV:pn-bridge-utils = "1.7%"
CHECK_VERSION_PV:pn-turbostat = "2024.07.26"