Hi  Alex

> Can you explain the use case please? If you just want to use systemd, 

I just want to select systemd instead of sysvinit. So I added the following in 
local.conf before. But it doesn't work recently.
--------------------------------------------
DISTRO_FEATURES:append = " system "
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
--------------------------------------------

> set INIT_MANAGER = "systemd".

Ok, I'll try. Thanks for your reply.


Best regards
Lei

> -----Original Message-----
> From: Alexander Kanavin <[email protected]>
> Sent: Saturday, May 28, 2022 3:11 AM
> To: Lei, Maohui <[email protected]>
> Cc: [email protected]
> Subject: Re: [OE-core] DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
> doesn't work.
> 
> Can you explain the use case please? If you just want to use systemd, set
> INIT_MANAGER = "systemd".
> 
> Alex
> 
> On Fri, 27 May 2022 at 02:39, leimaohui <[email protected]> wrote:
> >
> > Hi, all
> >
> > Because the following patch, "DISTRO_FEATURES_BACKFILL_CONSIDERED =
> "sysvinit"" doesn't work anymore. I have to " DISTRO_FEATURES:remove =
> "sysvinit" " instead to disable sysvinit.
> > But I'm not very clear if there is difference between
> "DISTRO_FEATURES_BACKFILL_CONSIDERED" and " DISTRO_FEATURES:remove
> " for my image. Can anybody tell me?
> > --------------------------------------
> > commit a6ebbe3a10ff76386dde03ddaa7097bdb2f5d9a5
> > Author: Richard Purdie <[email protected]>
> > Date:   Wed Apr 13 18:41:39 2022 +0100
> >
> >     poky: Use INIT_MANAGER in main distro config
> >
> >     Just to keep things standard and clear, use the new INIT_MANAGER
> variable
> >     in the main distro config. This matches the default config with the
> addition
> >     of some DISTRO_FEATURES tweaks.
> >     ......
> >     BB_HASHSERVE ??= "auto"
> >     +
> >     +INIT_MANAGER = "sysvinit"
> > --------------------------------------
> >
> > Best regards
> > Lei
> >
> > 
> >
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#166261): 
https://lists.openembedded.org/g/openembedded-core/message/166261
Mute This Topic: https://lists.openembedded.org/mt/91367188/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to