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

El Mehdi YOUNES <[email protected]>
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <[email protected]>
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 <[email protected]>
---
 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'"
             ],
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.