irqbalance: correct to install /etc/default for systemd

Due to upstream commit [Properly embed EnvironmentFile sourced systemd
configs into meson and autonconf][1], introduced 2 configurable directories,
defaults set to: /usr/etc/default.

This commit uses option --with-pkgconfdir to correct to install /etc/default
for systemd as usual

[1] 41cb97c714

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
hongxu 2025-12-29 14:19:21 +08:00 committed by Bruce Ashfield
parent 207052a82c
commit f6a438e078

View File

@ -34,7 +34,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd',
#
PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl,"
PACKAGECONFIG[libcap-ng] = "--with-libcap-ng,--without-libcap-ng,libcap-ng,"
PACKAGECONFIG[systemd] = "--with-systemd,,,"
PACKAGECONFIG[systemd] = "--with-systemd --with-pkgconfdir=${sysconfdir},,,"
do_install () {
oe_runmake 'DESTDIR=${D}' install
@ -48,5 +48,3 @@ do_install () {
fi
}
# in case systemd support files are installed
FILES:${PN} += "${prefix}${sysconfdir}/default/"