Commit Graph
41376 Commits
Author SHA1 Message Date
Khem Raj 4e45cabe7b libgpiod: Fix intermittent gpiocli monitor ptest failure
test_monitor_all_lines_on_request toggles line 1 twice, with line 4 in
between, before reading any event. gpio-sim delivers both changes of
line 1 as one interrupt when they happen before it is handled, so the
rising edge is lost:

  ASSERT: '41610700648 falling "foo" 41610665414 rising  4' did not
  match '[0-9]+ rising\s+"foo"'

Wait for each event before triggering the next one. In a qemux86-64
guest this took the test from 12 of 20 runs failing to none.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:08 -08:00
Khem Raj 457cc5233f sdbus-c++: Fix flaky integration tests on slow machines
sdbus-c++-integration-tests fails intermittently in the ptest image on
qemuarm64 (qemu TCG, no KVM) when the build host is busy running other
testimage tasks:

- CallsMethodWithLargeArgument sends ~30 MB in one method call with the
  default 25 second D-Bus timeout. That takes 13-16 s on an idle qemu
  and 40-50 s under load, so it fails with
  org.freedesktop.DBus.Error.Timeout. Use a 120 second timeout.

- ThrowsTimeoutErrorWhen{Method,ClientSideAsyncMethod}TimesOut require
  the timeout error within 50 ms; under load it took up to 57 ms.
  Allow 500 ms, still well below the 1 s operation the tests time out.

With both patches, 10 repeats of the integration tests under heavy
host and guest CPU contention pass; without them 4 of 10 failed.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:08 -08:00
Khem Raj f85b8e6221 kernel-selftest: Skip tests the running kernel can't support
Many tests, most of them in net, fail rather than skip when the kernel
lacks a feature they need (vxlan, geneve, macvlan, vrf, netdevsim, TLS,
tc actions and qdiscs, audit for the landlock tests, ...). Skip them
based on the running kernel's config, so the results show regressions
instead of the kernel configuration.

Also skip the udpgro tests when iptables can't set up NAT (legacy
iptables on a kernel with only nftables), tc-testing when scapy is not
installed, landlock's fs_bench, which only reports timings and needs
twice the default timeout in qemu, mseal's sysmap_is_sealed when the
kernel doesn't seal the system mappings, and the ptrace vmaccess and
tty_tiocsti tests, which check for kernel changes that are not in
mainline.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:08 -08:00
Khem Raj 0172f05bde kernel-selftest: Fix tests that fail on qemu
Add fixes for tests that fail on qemux86-64 because of bugs in the
tests, and make tests that fail when an optional kernel feature or
device is missing skip instead:

- core: unshare_test fails when fs.nr_open is at its maximum
- proc: proc-empty-vm treats pkey_alloc() ENOSPC as a failure, and
  read fails when a task exits while it walks /proc
- sched: cs_prctl_test is not installed from the output directory and
  fails without core scheduling
- gpio: gpio-mockup expects an empty range to be accepted, and
  gpio-cdev-uaf fails without CONFIG_GPIO_CDEV_V1
- splice: short_splice_read fails without test_module
- syscall_user_dispatch: sud_benchmark needs a frame pointer
- lsm: lsm_get_self_attr_test checks the wrong errno and
  lsm_list_modules_test fails without securityfs
- cgroup: test_cpu fails without CONFIG_CFS_BANDWIDTH
- binderfs: binderfs_stress fails without binderfs
- kvm: nx_huge_pages_test.sh fails without KVM
- watchdog: watchdog-test fails without a watchdog device
- net: udpgro_fwd.sh hangs the whole run without vxlan, and icmp.sh
  fails without tcpdump

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:08 -08:00
Khem Raj c66374bd64 kernel-selftest: Add the modules and tools the tests need
Many selftests modprobe what they need (gpio-mockup, netdevsim, vrf,
the tc qdiscs, classifiers and actions, ...), but the image only had a
couple of kernel modules, so recommend all of them.

The net tests also need real iproute2, iputils ping and ping6, ethtool,
iperf3, socat, jq, bc and taskset; busybox ip and ping lack most of the
options they use, and busybox's ping6 has no -M, which pmtu.sh picks up
over ping when it exists.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:08 -08:00
Khem Raj cf4826c333 kernel-selftest: Fix building the net selftests
The net selftests generate their netlink code with tools/net/ynl, which
needs the netlink specs from Documentation/netlink, python3 with pyyaml
and jsonschema, and the top-level MAINTAINERS file: ynl_gen_c.py finds
the kernel root by walking up until it sees MAINTAINERS and loops
forever when it is not there. libbpf needs elfutils and zlib,
reuseport_bpf_numa numactl and tcp_mmap openssl.

net/lib installs the whole ynl tree, so drop its build artifacts and
bytecode, which trip the staticdev and buildpaths QA checks, and pass
the prefix maps to clang so the BPF objects don't carry build paths
either.

The python tests load the netlink specs at runtime, so add pyyaml there
as well.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:08 -08:00
Khem Raj 8679eabed8 kernel-selftest: Report per-test results in ptest
run-ptest printed "PASS: kernel-selftest" or "[FAIL]: kernel-selftest".
The latter does not match the FAIL: pattern of the ptest log parser, so
whenever any selftest failed testimage reported no results at all:

  ptests which had no test results:
  ['kernel-selftest']

Convert the per-test TAP lines from run_kselftest.sh into PASS:, FAIL:
and SKIP: lines, so results are recorded and failing selftests are
listed by name.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:08 -08:00
Khem Raj 1a0b3b004c webmin: Remove unused patches
These were dropped from SRC_URI in eb4d6ede5d (webmin: upgrade 2.641 -> 2.653) but the files were left behind:

  init-exclude.patch

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:07 -08:00
Khem Raj cf4757fc47 nmap: Remove unused patches
These were dropped from SRC_URI in 13bafd2753 (nmap: upgrade 7.92 -> 7.99) but the files were left behind:

  0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch
  nmap-redefine-the-python-library-dir.patch

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:07 -08:00
Khem Raj 52874662b0 sysdig: Remove unused patches
These were dropped from SRC_URI in 0fa0257275 (sysdig: upgrade 0.28.0 -> 0.39.0) but the files were left behind:

  0001-update-cmake-Only-add-dependencies-when-we-bundle.patch

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:07 -08:00
Khem Raj b0ae3e98f9 glade: Remove unused patches
These were dropped from SRC_URI in caf1d45b40 (glade: upgrade 3.36.0 -> 3.40.0) but the files were left behind:

  CVE-2020-36774.patch
  remove-yelp-help-rules-var.patch

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:07 -08:00
Khem Raj 842b3e3c7f postfix: Remove unused patches
These were dropped from SRC_URI in ad0f53d2bb (postfix: upgrade 3.10.9 -> 3.11.2) but the files were left behind:

  0001-makedefs-Account-for-linux-7.x-version.patch

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:07 -08:00
Khem Raj 526aa44cf8 nbdkit: Remove stale 1.33.11 recipe
nbdkit_1.33.11.bb and its patch were left behind next to the current
recipe and are never selected since the newer version is preferred.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:07 -08:00
Khem Raj ed9120314e cloudflared: upgrade 2026.3.0 -> 2026.10.7
Upstream removed the vendor directory (TUN-10829), so fetch the Go
modules through go-mod-update-modules like other Go recipes, with
cloudflared-go-mods.inc and cloudflared-licenses.inc generated by
bitbake -c update_modules. The licenses that could not be detected
automatically were identified by hand.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:06 -08:00
Khem Raj 699a8dd232 ndpi, ntopng: upgrade to 6.0 and 7.0
ndpi: upgrade 5.0 -> 6.0
- Drop 0001-configure-Stop-embedding-pwd-at-configure-time.patch,
  NDPI_BASE_DIR is gone upstream.

ntopng: upgrade 6.6 -> 7.0
- Drop 0001-Fix-build-with-OpenSSL-4.0.patch, CVE-2026-84990.patch and
  CVE-2026-86090-CVE-2026-86091.patch, included in this release.
- Refresh the remaining patches.

They are upgraded together as ntopng 7.0 is built against nDPI 6.0.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:06 -08:00
Khem Raj 8ab3ce42a8 drbd-utils: upgrade 9.34.0 -> 9.35.0
Update the drbd-headers submodule revision to the one used by the
v9.35.0 tag and refresh 0001-fix-the-hardcoded-legacy-helper-path.patch.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:06 -08:00
Khem Raj 722f5f532e tailscale: upgrade 1.104.1 -> 1.104.6
Regenerate tailscale-go-mods.inc and tailscale-licenses.inc with
bitbake -c update_modules.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:06 -08:00
Khem Raj 08a571906d samba: upgrade 4.23.11 -> 4.25.1
Drop the memset_explicit backports, included in this release, and
refresh 0003-Add-config-option-without-valgrind.patch.

The bundled talloc, tevent and tdb versions are unchanged (2.5.0,
0.17.2, 1.4.15).

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:06 -08:00
Khem Raj cba9b18c11 vsomeip: upgrade 3.7.3 -> 3.8.0
Refresh 0001-Fix-pkgconfig-dir-for-multilib.patch through
0005-Do-not-treat-warnings-as-errors-with-clang.patch; the memory tests
were rewritten and no longer need the scanf fix.

The policy manager unit test now gets its build directory from a CMake
compile definition instead of policy_manager_impl_unit_test_macro.hpp,
so point that at the installed test directory to avoid embedding ${B}.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:06 -08:00
Khem Raj 8a17d40935 open-vm-tools: upgrade 13.0.10 -> 13.1.0
gtk2 support was removed and gtk4 added, and --with-gtkmm was split
into gtkmm3/gtkmm4; adjust the configure options and use gtk+3 for x11.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:05 -08:00
Khem Raj 45854336cb kronosnet: upgrade 1.33 -> 1.36
The wireshark dissector is now built by default and needs
wireshark >= 4.6.0; add a wireshark PACKAGECONFIG, off by default.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:05 -08:00
Khem Raj bbfc9df149 phodav: upgrade 3.0 -> 3.2
gtk-doc was replaced by gi-docgen, drop the gtk-doc class and disable
the new docs, introspection and litmus options. Set the new sysusers and
udev rules directories, and derive the download directory from PV.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:05 -08:00
Khem Raj 7c926d1ca9 stunnel: upgrade 5.80 -> 5.82
Refresh fix-openssl-no-des.patch.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:05 -08:00
Khem Raj 841f3531ce autofs: upgrade 5.1.9 -> 5.2.0
Drop 0010-autofs-5.1.9-Fix-incompatible-function-pointer-types.patch,
included in this release, and refresh
0006-Do-not-hardcode-path-for-pkg.m4.patch.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:05 -08:00
Khem Raj b9263d0be3 corosync: upgrade 3.1.10 -> 3.2.0
Drop CVE-2026-35091.patch and CVE-2026-35092.patch, included in this
release.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:05 -08:00
Khem Raj 38fae16c9a chrony: upgrade 4.8 -> 4.9
Refresh arm_eabi.patch.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:04 -08:00
Khem Raj 82ada511b9 ndisc6: upgrade 1.0.8 -> 1.0.9
Refresh 0001-Remove-use-of-variables-indicating-buildtime-informa.patch,
upstream already dropped the build date and host name; only the configure
invocation remains.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:04 -08:00
Khem Raj 54ec39f13d ettercap: upgrade 0.8.4.1 -> 0.8.5.1
Refresh 0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:04 -08:00
Khem Raj 377c4a7268 tgt: upgrade 1.0.90 -> 1.0.98
Drop musl-__wordsize.patch, __WORDSIZE is no longer used.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:04 -08:00
Khem Raj 20193dfa90 rdma-core: upgrade 65.0 -> 66.0
COPYING.GPL2 was updated to the current GPL-2.0 text (FSF address
replaced by a URL); the license is unchanged.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:04 -08:00
Khem Raj e7bf18b946 weechat: upgrade 4.10.2 -> 4.10.4
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:04 -08:00
Khem Raj 94efb92a8a networkmanager: upgrade 1.58.0 -> 1.58.1
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:04 -08:00
Khem Raj f5b2328376 nbdkit: upgrade 1.49.4 -> 1.49.5
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:03 -08:00
Khem Raj 0977b69f8e libcpr: upgrade 1.14.2 -> 1.15.1
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:03 -08:00
Khem Raj fcfa6a32a4 htpdate: upgrade 2.0.2 -> 2.1.0
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:03 -08:00
Khem Raj bdd9089a0a frr: upgrade 10.6.2 -> 10.7.1
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 22:46:03 -08:00
Khem Raj 2ee33fba32 bpftool-native: Upgrade 6.16 -> 7.3.4
Drop patches which are included in this release:
0001-libbpf-Fix-Wdiscarded-qualifiers-under-C23.patch
0002-tools-linux-types.h-Add-128-bit-integer-types-for-ar.patch

Derive the kernel.org v<major>.x directory from PV.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:21:48 -08:00
Khem Raj 6482e70bad bpftool-native: Fix build on arm64 hosts with linux-libc-dev 7.3
Debian 13 now ships linux-libc-dev 7.3, where the arm64 UAPI headers
(asm/ptrace.h, asm/sigcontext.h) use __u128 instead of __uint128_t.
bpftool-native builds against the host headers but puts
tools/include ahead of them, and the 6.16 tools linux/types.h does not
define __u128:

/usr/lib/linux/uapi/arm64/asm/sigcontext.h:81:9: error: unknown type name '__u128'; did you mean '__u32'?

Backport the upstream tools/include/linux/types.h fix that adds the
128-bit types.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:21:48 -08:00
Jason Schonberg 167ee80f35 nodejs: upgrade 24.22.2 -> 24.22.3
This is the November 2026 security release.

  7 high severity issues.
  6 medium severity issues.
  3 low severity issues.

High severity issues.
  CVE-2026-123863
  CVE-2026-123864
  CVE-2026-123865
  CVE-2026-123866
  CVE-2026-126051
  CVE-2026-123872
  CVE-2026-123874

Medium severity issues.
  CVE-2026-123828
  CVE-2026-123867
  CVE-2026-123868
  CVE-2026-123871
  CVE-2026-123877
  CVE-2026-123875

Low severity issues.
  CVE-2026-123829
  CVE-2026-123862
  CVE-2026-106071

https://nodejs.org/en/blog/vulnerability/november-2026-security-releases

Changelog: https://github.com/nodejs/node/releases/tag/v24.22.3

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:20:15 -08:00
Khem Raj 3a033c219c fastfetch: Fix build with lld
Since the link type was switched to dynamic, fastfetch adds
-Wl,--copy-dt-needed-entries to the exe linker flags. LLD does not
support it, so every CMake check that links fails; utmpx.h is then
reported missing and the utmp.h fallback breaks the build:

error: use of undeclared identifier 'endutxent'; did you mean 'endutent'?

Only add the flag when the linker accepts it, map endutxent in the
utmp.h fallback as well, and link libxcb and libX11 explicitly since
LLD cannot pick them up through xcb-randr/xrandr DT_NEEDED entries.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
AI-Generated: Uses Claude Code
2026-11-11 18:20:14 -08:00
Tafil Avdyli 3b9df651ac fastfetch: upgrade 2.70.0 -> 2.71.0
Full changelog: https://github.com/fastfetch-cli/fastfetch/blob/2.71.0/CHANGELOG.md

Signed-off-by: Tafil Avdyli <tafil@tafhub.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:20:14 -08:00
Tafil Avdyli a20e0d3695 fastfetch: drop sixel packageconfig
The embedded 3rd party sixel coder is meant for Windows, macOS and
Android. The option has no effect on Linux.

Signed-off-by: Tafil Avdyli <tafil@tafhub.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:20:14 -08:00
Tafil Avdyli 5f46731ff9 fastfetch: set link type to dynamic
The default option is dlopen. Switch to dynamic to allow Yocto's
shlibdeps to generate runtime dependencies automatically to avoid
missing libraries in the target image.

Signed-off-by: Tafil Avdyli <tafil@tafhub.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:20:14 -08:00
Khem Raj 9f8509f420 pgpool2: Do not embed recipe sysroot libdir in pgpool_setup
configure takes PGSQL_LIB_DIR from pg_config, which points into the
recipe sysroot. The pgpool_setup script uses it as its default
LD_LIBRARY_PATH, triggering the buildpaths QA error:

File /usr/bin/pgpool_setup in package pgpool2 contains reference to TMPDIR [buildpaths]

Override PGSQL_LIB_DIR with ${libdir} at make time. The link flags use
the configure-substituted @PGSQL_LIB_DIR@, so linking against libpq in
the sysroot is unaffected; only the generated scripts pick up the
override.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:20:14 -08:00
Babanpreet Singh af05e0e2d1 pg-cron: add recipe
pg_cron is a cron-based job scheduler that runs inside PostgreSQL.

Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:20:14 -08:00
Babanpreet Singh b114ccb74a pgxs.bbclass: add class for PostgreSQL extensions
Extensions that build with PGXS need the same dependency, make
arguments and FILES. Put them in a class so a recipe only has to
inherit pgxs.

Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:20:13 -08:00
Babanpreet Singh 8521c1f634 postgresql: make PGXS usable for cross-building extensions
Extensions built with PGXS need pg_config and Makefile.global, but
pg_config is a target binary and the staged Makefile.global has its
paths stripped.

Stage a shell pg_config in crossscripts and fix up the staged PGXS
makefiles so extensions can be built against the sysroot.

Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:20:13 -08:00
Peter Marko beba6d25fd libcoap: correct license
Commit fd97bae312 wrongly replaced
BSD-1-Clause by BSD-3-Clause instead of just adding BSD-3-Clause.
It's commit message says "add", not "replace".

[1] shows it's still needed.

Correct this by re-adding BSD-1-Clause.

[1] https://github.com/obgm/libcoap/blob/v4.3.5b/LICENSE#L53

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:20:13 -08:00
Ricardo Salveti e52b01dfe4 cpupower: split cpufreq-bench into cpupower-bench
The kernel's cpupower Makefile builds cpufreq-bench by default and
installs its cpufreq-bench_plot.sh helper, a bash script, into
${bindir}. That makes the whole cpupower package RDEPEND on bash,
which pulls bash into images that only want the cpupower tool, such
as busybox based initramfs images.

Move cpufreq-bench, its plot script and its configuration file to
cpupower-bench and carry the bash dependency there. Images that use
cpufreq-bench now need to install cpupower-bench, so switch the
benchmarks packagegroup to it.

AI-Generated: Uses Claude Code
Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:20:13 -08:00
Khem Raj 1fe53601f7 cpupower: Install systemd unit into systemd_system_unitdir
The kernel cpupower Makefile installs cpupower.service into a hardcoded
/usr/lib/systemd/system, while the systemd package ships
${systemd_unitdir}. On distros without usrmerge (e.g. poky) these
differ, and on sysvinit distros the unit is not wanted at all, causing
installed-vs-shipped QA errors.

Pass unitdir=${systemd_system_unitdir} so the unit lands where OE
expects, and set SYSTEMD=false when systemd is not in DISTRO_FEATURES
so the unit is not installed.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-11 18:20:13 -08:00