All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] irqbalance: correct to install /etc/default for systemd
@ 2025-12-29  6:19 Hongxu Jia
  2026-01-06 19:20 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Hongxu Jia @ 2025-12-29  6:19 UTC (permalink / raw)
  To: meta-virtualization

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>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-virtualization][PATCH] irqbalance: correct to install /etc/default for systemd
  2025-12-29  6:19 [meta-virtualization][PATCH] irqbalance: correct to install /etc/default for systemd Hongxu Jia
@ 2026-01-06 19:20 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2026-01-06 19:20 UTC (permalink / raw)
  To: hongxu.jia; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization][PATCH] irqbalance: correct to install /etc/default for systemd
on 29/12/2025 hongxu via lists.yoctoproject.org wrote:

> 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>
> ---
>  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/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-06 19:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-29  6:19 [meta-virtualization][PATCH] irqbalance: correct to install /etc/default for systemd Hongxu Jia
2026-01-06 19:20 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.