diff mbox series

[meta-arago,scarthgap,2/2] weston-init-arago: add weston-init to the rprovides

Message ID 20251001183102.357345-2-rs@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,scarthgap,1/2] emptty: backport fix for signal handeling | expand

Commit Message

Randolph Sapp Oct. 1, 2025, 6:31 p.m. UTC
From: Randolph Sapp <rs@ti.com>

I made this conflict with the core version of weston-init, but I forgot
to say it's actually a runtime provider of the same package to resolve
any issues with core package groups.

Fixes: d63830cd ("weston-init: weston-init -> weston-init-arago")
Signed-off-by: Randolph Sapp <rs@ti.com>
---
 meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Denys Dmytriyenko Oct. 22, 2025, 5:04 p.m. UTC | #1
On Wed, Oct 01, 2025 at 01:31:02PM -0500, rs@ti.com wrote:
> From: Randolph Sapp <rs@ti.com>
> 
> I made this conflict with the core version of weston-init, but I forgot
> to say it's actually a runtime provider of the same package to resolve
> any issues with core package groups.
> 
> Fixes: d63830cd ("weston-init: weston-init -> weston-init-arago")
> Signed-off-by: Randolph Sapp <rs@ti.com>
> ---
>  meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb b/meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb
> index 033c32f1..395e996e 100644
> --- a/meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb
> +++ b/meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb
> @@ -65,7 +65,7 @@ FILES:${PN} += "\
>      "
>  
>  CONFFILES:${PN} += "${sysconfdir}/xdg/weston/weston.ini ${sysconfdir}/emptty/conf"
> -RPROVIDES:${PN}:append = " virtual-emptty-conf"
> +RPROVIDES:${PN}:append = " virtual-emptty-conf weston-init"

Now you also need an extra PREFERRED_RPROVIDER:

NOTE: Multiple providers are available for runtime weston-init (weston-init, weston-init-arago)
Consider defining a PREFERRED_RPROVIDER entry to match weston-init


>  RCONFLICTS:${PN} += "weston-init"
>  
>  USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,render,nopasswdlogin weston"
> -- 
> 2.51.0
>
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb b/meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb
index 033c32f1..395e996e 100644
--- a/meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb
+++ b/meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb
@@ -65,7 +65,7 @@  FILES:${PN} += "\
     "
 
 CONFFILES:${PN} += "${sysconfdir}/xdg/weston/weston.ini ${sysconfdir}/emptty/conf"
-RPROVIDES:${PN}:append = " virtual-emptty-conf"
+RPROVIDES:${PN}:append = " virtual-emptty-conf weston-init"
 RCONFLICTS:${PN} += "weston-init"
 
 USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,render,nopasswdlogin weston"