Why do I (always) point out the obvious? And I do need... Geniuses are not meant to fix The World to understand them!?
Geniuses should understand The World (and act properly)! Extras to geniality, do you, YOCTO primes, think? _______ Robert... If I am correct, i'm I? Should you include in docs some examples??? Yes, U should! As for an example fix: poky/meta/conf/distro/include/init-manager-*.con, NOT conf/distro/include/init-manager-*.conf (full path is more explicit, isn't it?) And some local.conf examples/snippets (since all descriptions are here and there very dry): ## Add systemd service INIT_MANAGER = "systemd" ## DISTRO_FEATURES_append = " systemd" ## DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit" ## VIRTUAL-RUNTIME_init_manager = "systemd" ## VIRTUAL-RUNTIME_dev_manager = "systemd" ## VIRTUAL-RUNTIME_initscripts = "" Where INIT_MANAGER = "systemd" replaces all commented commands below.... My two cent advice, Zee _______ On Fri, May 28, 2021 at 1:28 AM Khem Raj <raj.k...@gmail.com> wrote: > > > > On 5/27/21 3:04 PM, sayinswa...@gmail.com wrote: > > Hello Yocto team: > > > > I just started with yocto and would like to know the process for > > switching the init manager from systemd to sysvinit. > > > > I tried this options in config file > > VIRTUAL-RUNTIME_init_manager = "busybox" > > PREFERRED_PROVIDER_udev = "sysvinit" > > PREFERRED_PROVIDER_udev-utils = "sysvinit" > > DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" > > DEFAULT_DISTRO_FEATURES += " sysvinit" > > > > I see a warning when building my machine: > > > > No recipe for target: > > /recipes-core/sysvinit/sysvinit_2.88dsf.bbappend > > Please find out which layer is adding this bbappend you could use > > bitbake-layers show-appends sysvinit > > It seems recipe version is newer perhaps and the bbappend is still made > for older recipe, these things happen when you mix release branches for > different layers. > > > > > When I run this build on my target it still shows me systemd init manager... > > > > Not sure if I am missing any options. > > Could you please let me know if there are any pointers I can refer to? > > > > Thanks, > > Priya > > > > > > > > > > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53689): https://lists.yoctoproject.org/g/yocto/message/53689 Mute This Topic: https://lists.yoctoproject.org/mt/83136294/21656 Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-