On Fri, May 12, 2023 at 2:14 PM Ken Sloat via lists.openembedded.org <ken.s=
[email protected]> wrote:

> Hi Adrian,
>
> Thanks for your quick reply.
>
> I was looking at the packages-split folders the other day and yes it is
> packaged there.
>
> Thanks for pointing out rm_sysvinit_initddir. I debugged this a bit, and
> it turns out that "sysvinit" is actually still in DISTRO_FEATURES along
> with "systemd." In Langdale at least, it appears that the statements from:
>
>
> https://github.com/yoctoproject/poky/blob/langdale/meta/conf/distro/include/init-manager-systemd.inc
>
> that is:
> DISTRO_FEATURES:append = " systemd"
> DISTRO_FEATURES_BACKFILL_CONSIDERED:append = " sysvinit"
> VIRTUAL-RUNTIME_init_manager ??= "systemd"
> VIRTUAL-RUNTIME_initscripts ??= "systemd-compat-units"
> VIRTUAL-RUNTIME_login_manager ??= "shadow-base"
> VIRTUAL-RUNTIME_dev_manager ??= "systemd"
>
> are not removing "sysvinit" from DISTRO_FEATURES. The if statement in
> rm_sysvinit_initddir requires that both systemd be present and sysvinit not
> present to call the removal functions.
>
> I was only able to force "sysvinit" removal via
> DISTRO_FEATURES:remove = "sysvinit"
>
> I debugged in Kirkstone as well and rm_sysvinit_initddir did remove the
> scripts there (DISTRO_FEATURES properly set). Did something change with
> specifying systemd in Langdale? Those statements are still in
> init-manager-systemd.inc file in Langdale.
>

Langdale is now EOL.
https://wiki.yoctoproject.org/wiki/Releases

You probably want to be using INIT_MANAGER

https://docs.yoctoproject.org/4.2/dev-manual/init-manager.html#using-systemd-exclusively


> Sincerely,
> Ken Sloat
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102562): 
https://lists.openembedded.org/g/openembedded-devel/message/102562
Mute This Topic: https://lists.openembedded.org/mt/98852053/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to