diff options
| author | hongxu <hongxu.jia@windriver.com> | 2025-12-29 14:19:21 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-01-06 14:35:24 -0500 |
| commit | 790770dc6224b5b59e0e4aab59262be341009818 (patch) | |
| tree | 3297797f629aa35831b95509ea6f933a18377fa9 | |
| parent | b9a29d2423407c1e50f19dc3f3e154d164c5f0ec (diff) | |
| download | meta-virtualization-790770dc6224b5b59e0e4aab59262be341009818.tar.gz | |
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] https://github.com/Irqbalance/irqbalance/commit/41cb97c714e6216ab7f10f8aaa51a2548da3acc7
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-extended/irqbalance/irqbalance.inc | 4 |
1 files changed, 1 insertions, 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', | |||
| 34 | # | 34 | # |
| 35 | PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl," | 35 | PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl," |
| 36 | PACKAGECONFIG[libcap-ng] = "--with-libcap-ng,--without-libcap-ng,libcap-ng," | 36 | PACKAGECONFIG[libcap-ng] = "--with-libcap-ng,--without-libcap-ng,libcap-ng," |
| 37 | PACKAGECONFIG[systemd] = "--with-systemd,,," | 37 | PACKAGECONFIG[systemd] = "--with-systemd --with-pkgconfdir=${sysconfdir},,," |
| 38 | 38 | ||
| 39 | do_install () { | 39 | do_install () { |
| 40 | oe_runmake 'DESTDIR=${D}' install | 40 | oe_runmake 'DESTDIR=${D}' install |
| @@ -48,5 +48,3 @@ do_install () { | |||
| 48 | fi | 48 | fi |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | # in case systemd support files are installed | ||
| 52 | FILES:${PN} += "${prefix}${sysconfdir}/default/" \ No newline at end of file | ||
