Hi, > I suspect it's that you can't set it in local.conf now:
You are right, setting NIT_MANAGER = "systemd" in local.conf doesn't work. Sysvinit is still built. So, there is no way to disable sysvinit except setting DISTRO_FEATURES:remove="sysvinit" in local.conf, right? Best regards > -----Original Message----- > From: Alex Kiernan <[email protected]> > Sent: Saturday, May 28, 2022 5:57 PM > To: Alexander Kanavin <[email protected]> > Cc: Lei, Maohui <[email protected]>; > [email protected] > Subject: Re: [OE-core] DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" > doesn't work. > > I suspect it's that you can't set it in local.conf now: > > # $INIT_MANAGER [3 operations] > # set /home/alexk/poky/build/conf/local.conf:291 > # "systemd" > # set /home/alexk/poky/meta-poky/conf/distro/poky.conf:70 > # "sysvinit" > # set /home/alexk/poky/meta/conf/distro/defaultsetup.conf:20 > # [_defaultval] "none" > # pre-expansion value: > # "sysvinit" > INIT_MANAGER="sysvinit" > > On Fri, May 27, 2022 at 8:11 PM Alexander Kanavin <[email protected]> > wrote: > > > > 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 > > > > > > > > > > > > > > > > > > -- > Alex Kiernan
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#167016): https://lists.openembedded.org/g/openembedded-core/message/167016 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]] -=-=-=-=-=-=-=-=-=-=-=-
