irqbalance: Fix QA error when sysvinit is used
PATCH v2 1/1 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]
---
Changes in v2:
- Improved commit message to explain the sysvinit case
- Use PACKAGECONFIG instead of EXTRA_OECONF
--- recipes-extended/irqbalance/irqbalance.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
recipes-extended/irqbalance/irqbalance.inc +1 -2
@@ -14,7 +14,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ " DEPENDS = "glib-2.0" -DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" INITSCRIPT_NAME = "irqbalanced" INITSCRIPT_PARAMS = "defaults"
@@ -34,7 +33,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 --with-pkgconfdir=${sysconfdir},,," +PACKAGECONFIG[systemd] = "--with-systemd --with-pkgconfdir=${sysconfdir},--with-pkgconfdir=${sysconfdir},systemd," do_install () { oe_runmake 'DESTDIR=${D}' install
Signature · 1 line
2.43.0
merged.
Bruce
In message: [meta-virtualization][PATCH v2] irqbalance: Fix QA error when sysvinit is used
Quoted 57 lines · on 13/02/2026 Yiding Liu (Fujitsu) via lists.yoctoproject.org wrote:
irqbalance: correct to install
/etc/defaultfor sysvinit1.This commit uses option --with-pkgconfdir for sysvinit to correct to install
/etc/default
Without this fix, there will showdo_packageQA Issue when sysvinit is used
ERROR: irqbalance-1.9.4+git-r0do_package: QA Issue: irqbalance: Files/directories were installed but not shipped in any package:
/usr/etc
/usr/etc/default
/usr/etc/default/irqbalance.envPrevious 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 <[email protected]>---
Changes in v2:
- Improved commit message to explain the sysvinit case
- Use PACKAGECONFIG instead ofEXTRA_OECONF--- recipes-extended/irqbalance/irqbalance.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)recipes-extended/irqbalance/irqbalance.inc +1
-2@@ -14,7 +14,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ " DEPENDS = "glib-2.0" -DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" INITSCRIPT_NAME = "irqbalanced" INITSCRIPT_PARAMS = "defaults"@@ -34,7 +33,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 --with-pkgconfdir=${sysconfdir},,," +PACKAGECONFIG[systemd] = "--with-systemd --with-pkgconfdir=${sysconfdir},--with-pkgconfdir=${sysconfdir},systemd," do_install () { oe_runmake 'DESTDIR=${D}' installSignature · 11 lines
2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9586): https://lists.yoctoproject.org/g/meta-virtualization/message/9586 Mute This Topic: https://lists.yoctoproject.org/mt/117787082/1050810 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-