Skip to contentSkip to conversation

Difference between INIT_MANAGER="none" and INIT_MANAGER="sysvinit"?

DISCUSSION Michael Opdenacker 3 participants 4 messages Feb 23, 2023 – Apr 28, 2023

lore
Share & tools
lore
#0 lore raw

Greetings

I'm trying to document the possible values of INIT_MANAGER.

I'm using the master branch of Poky, and whether I'm using INIT_MANAGER="none" or INIT_MANAGER="sysvinit" in conf/local.conf, I'm getting the exact same "core-image-minimal" image (it's not even rebuilt).

Anyway, ./meta/conf/distro/include/init-manager-sysvinit.inc and ./meta/conf/distro/include/init-manager-none.inc look very similar and even seem to be equivalent as I'm getting the same image anyway.

So, what's the use of INIT_MANAGER = "none"?

Thanks in advance
Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#1 lore raw
Quoted 9 lines · Michael Opdenacker via lists.openembedded.org

Greetings

I'm trying to document the possible values of INIT_MANAGER.

I'm using the master branch of Poky, and whether I'm using INIT_MANAGER="none" or INIT_MANAGER="sysvinit" in conf/local.conf, I'm getting the exact same "core-image-minimal" image (it's not even rebuilt).

Quoted 6 lines

Anyway, ./meta/conf/distro/include/init-manager-sysvinit.inc and ./meta/conf/distro/include/init-manager-none.inc look very similar and even seem to be equivalent as I'm getting the same image anyway.

So, what's the use of INIT_MANAGER = "none"?

It basically sets a nodistro default which is sysvinit like atm.

Quoted 18 lines

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 (#177616): https://lists.openembedded.org/g/openembedded-core/message/177616
Mute This Topic: https://lists.openembedded.org/mt/97187470/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

none is a confusing name though. Should it be dropped and nodistro tweaked to use sysvinit?

Alex

Quoted 43 lines · Khem Raj
Quoted 9 lines · Michael Opdenacker via lists.openembedded.org

Greetings

I'm trying to document the possible values of INIT_MANAGER.

I'm using the master branch of Poky, and whether I'm using INIT_MANAGER="none" or INIT_MANAGER="sysvinit" in conf/local.conf, I'm getting the exact same "core-image-minimal" image (it's not even rebuilt).

Quoted 6 lines

Anyway, ./meta/conf/distro/include/init-manager-sysvinit.inc and ./meta/conf/distro/include/init-manager-none.inc look very similar and even seem to be equivalent as I'm getting the same image anyway.

So, what's the use of INIT_MANAGER = "none"?

It basically sets a nodistro default which is sysvinit like atm.

Quoted 4 lines

Thanks in advance
Cheers
Michael.

Quoted 8 lines

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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#3731): https://lists.yoctoproject.org/g/docs/message/3731
Mute This Topic: https://lists.yoctoproject.org/mt/97188247/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Hi Alex,

Getting back to this old thread about setting INIT_MANAGER to "none", which currently produces a system based on sysvinit and udev.

Quoted 2 lines · Alexander Kanavin

none is a confusing name though. Should it be dropped and nodistro tweaked to use sysvinit?

Indeed, that's confusing. Even Paul Eggleton got it wrong when he documented INIT_MANAGER.

I'll send a patch that fixes this on master Poky, but indeed removing "none" is another option.

Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com