Hello Richard,

Trying to improve the documentation about the selection of the init system, I'm jumping back to this old conversation, following a change that you made (https://lists.yoctoproject.org/g/poky/message/12760).

Am 06.07.22 um 18:40 schrieb Khem Raj:
On Wed, Jul 6, 2022 at 12:38 PM Robert P. J. Day <[email protected]> wrote:

   not sure why i never noticed this before, but i started a new
project from the poky layer (not OE), and realized that poky.conf
explicitly sets:

   INIT_MANAGER = "sysvinit"

which can't be overridden in my local.conf. if i want systemd, i guess
i can initialize my project from the OE layer, and i also notice that
i could use poky-altcfg.conf.

   but is there a reason that the default poky-based project fixes
INIT_MANAGER to "sysvinit". perhaps just for simplicity?

poky defaults to sysvinit.
poky has poky-alt distro fi you want to use say systemd

But why not setting INIT_MANAGER with "?=" instead of "=" in poky.conf?

This way, we could just override INIT_MANAGER from local.conf.

I checked that the generated system works. This would make things easier to document, unless I'm missing other reasons.

Thanks in advance,

Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#175358): 
https://lists.openembedded.org/g/openembedded-core/message/175358
Mute This Topic: https://lists.openembedded.org/mt/92210454/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to