diff mbox series

[yocto-autobuilder-helper] meta-oe-mirror: select systemd through INIT_MANAGER

Message ID 20260504093506.1434307-1-elmehdi.younes@smile.fr
State New
Headers show
Series [yocto-autobuilder-helper] meta-oe-mirror: select systemd through INIT_MANAGER | expand

Commit Message

El Mehdi YOUNES May 4, 2026, 9:35 a.m. UTC
The current configuration appends systemd and usrmerge directly to
DISTRO_FEATURES. This leaves VIRTUAL-RUNTIME_init_manager set to
sysvinit while systemd is also present in DISTRO_FEATURES.
Init manager selection is expected to be done through INIT_MANAGER.

see https://git.openembedded.org/openembedded-core/commit/?id=0b4061c5d50261f826d0edb4b478d2d305274b7c

The current meta-oe-mirror configuration breaks the autobuilder with a
large number of "Nothing PROVIDES" warnings/errors, as seen in build 717:

see  https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/717

Signed-off-by: El Mehdi YOUNES <elmehdi.younes@smile.fr>
---
 config.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Yoann Congal May 4, 2026, 9:40 a.m. UTC | #1
On Mon May 4, 2026 at 11:35 AM CEST, El Mehdi YOUNES via lists.yoctoproject.org wrote:
> The current configuration appends systemd and usrmerge directly to
> DISTRO_FEATURES. This leaves VIRTUAL-RUNTIME_init_manager set to
> sysvinit while systemd is also present in DISTRO_FEATURES.
> Init manager selection is expected to be done through INIT_MANAGER.
>
> see https://git.openembedded.org/openembedded-core/commit/?id=0b4061c5d50261f826d0edb4b478d2d305274b7c
>
> The current meta-oe-mirror configuration breaks the autobuilder with a
> large number of "Nothing PROVIDES" warnings/errors, as seen in build 717:
>
> see  https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/717
>
> Signed-off-by: El Mehdi YOUNES <elmehdi.younes@smile.fr>

Reviewed-by: Yoann Congal <yoann.congal@smile.fr>

> ---
>  config.json | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/config.json b/config.json
> index 3c067d2..beef339 100644
> --- a/config.json
> +++ b/config.json
> @@ -1813,7 +1813,8 @@
>              ],
>              "extravars" : [
>                  "LICENSE_FLAGS_ACCEPTED = 'commercial'",
> -                "DISTRO_FEATURES:append = ' pam systemd usrmerge opencl'",
> +                "INIT_MANAGER = 'systemd'",
> +                "DISTRO_FEATURES:append = ' pam opencl'",
>                  "FORTRAN:forcevariable = ',fortran'",
>                  "RUNTIMETARGET:append:pn-gcc-runtime = ' libquadmath'"
>              ],
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#3909): https://lists.yoctoproject.org/g/yocto-patches/message/3909
> Mute This Topic: https://lists.yoctoproject.org/mt/119139901/4316185
> Group Owner: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13179410/4316185/929767106/xyzzy [yoann.congal@smile.fr]
> -=-=-=-=-=-=-=-=-=-=-=-
diff mbox series

Patch

diff --git a/config.json b/config.json
index 3c067d2..beef339 100644
--- a/config.json
+++ b/config.json
@@ -1813,7 +1813,8 @@ 
             ],
             "extravars" : [
                 "LICENSE_FLAGS_ACCEPTED = 'commercial'",
-                "DISTRO_FEATURES:append = ' pam systemd usrmerge opencl'",
+                "INIT_MANAGER = 'systemd'",
+                "DISTRO_FEATURES:append = ' pam opencl'",
                 "FORTRAN:forcevariable = ',fortran'",
                 "RUNTIMETARGET:append:pn-gcc-runtime = ' libquadmath'"
             ],