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] 
https://github.com/Irqbalance/irqbalance/commit/41cb97c714e6216ab7f10f8aaa51a2548da3acc7

Signed-off-by: Hongxu Jia <[email protected]>
---
 recipes-extended/irqbalance/irqbalance.inc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/recipes-extended/irqbalance/irqbalance.inc 
b/recipes-extended/irqbalance/irqbalance.inc
index a145a3b3..35b6388e 100644
--- a/recipes-extended/irqbalance/irqbalance.inc
+++ b/recipes-extended/irqbalance/irqbalance.inc
@@ -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/"
\ No newline at end of file
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9509): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9509
Mute This Topic: https://lists.yoctoproject.org/mt/116981078/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to