diff options
| author | Yiding Liu (Fujitsu) <liuyd.fnst@fujitsu.com> | 2026-02-13 12:31:13 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-23 03:54:27 +0000 |
| commit | 1be0a5e3170ee32073377033d3e1f2186b4f622f (patch) | |
| tree | 8aea127386f9af445d996e38a1c744cfa633c656 | |
| parent | 30c5d74db7489b5938453bfcd3ef9151704e2bd0 (diff) | |
| download | meta-virtualization-1be0a5e3170ee32073377033d3e1f2186b4f622f.tar.gz | |
irqbalance: Fix QA error when sysvinit is used
irqbalance: correct to install /etc/default for sysvinit
1.This commit uses option --with-pkgconfdir for sysvinit to correct to install /etc/default
Without this fix, there will show do_package QA Issue when sysvinit is used
ERROR: irqbalance-1.9.4+git-r0 do_package: QA Issue: irqbalance: Files/directories were installed but not shipped in any package:
/usr/etc
/usr/etc/default
/usr/etc/default/irqbalance.env
Previous PACKAGECONFIG[systemd] only works when systemd is used. So making this patch to fix it.
2.Merge DEPENDS for systemd into PACKAGECONFIG[systemd]
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-extended/irqbalance/irqbalance.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/recipes-extended/irqbalance/irqbalance.inc b/recipes-extended/irqbalance/irqbalance.inc index 35b6388e..0c570e12 100644 --- a/recipes-extended/irqbalance/irqbalance.inc +++ b/recipes-extended/irqbalance/irqbalance.inc | |||
| @@ -14,7 +14,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | DEPENDS = "glib-2.0" | 16 | DEPENDS = "glib-2.0" |
| 17 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
| 18 | 17 | ||
| 19 | INITSCRIPT_NAME = "irqbalanced" | 18 | INITSCRIPT_NAME = "irqbalanced" |
| 20 | INITSCRIPT_PARAMS = "defaults" | 19 | INITSCRIPT_PARAMS = "defaults" |
| @@ -34,7 +33,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', | |||
| 34 | # | 33 | # |
| 35 | PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl," | 34 | PACKAGECONFIG[numa] = "--enable-numa,--disable-numa,numactl," |
| 36 | PACKAGECONFIG[libcap-ng] = "--with-libcap-ng,--without-libcap-ng,libcap-ng," | 35 | PACKAGECONFIG[libcap-ng] = "--with-libcap-ng,--without-libcap-ng,libcap-ng," |
| 37 | PACKAGECONFIG[systemd] = "--with-systemd --with-pkgconfdir=${sysconfdir},,," | 36 | PACKAGECONFIG[systemd] = "--with-systemd --with-pkgconfdir=${sysconfdir},--with-pkgconfdir=${sysconfdir},systemd," |
| 38 | 37 | ||
| 39 | do_install () { | 38 | do_install () { |
| 40 | oe_runmake 'DESTDIR=${D}' install | 39 | oe_runmake 'DESTDIR=${D}' install |
