Compiling systemd

Hi,

As anyone managed to compile systemd into legato distribution?
I’d like to use dome of systemd shell tools without actually enabling systemd…

Thanks,
Roy

You may get some hints from yocto project development manual:
https://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html#using-systemd-exclusively

Hi,

PLease try below,

Use meta/recipes-extended/images/core-image-full-cmdline.bb

to support systemd:
DISTRO_FEATURES_append = “systemd”
DISTRO_FEATURES_BACKFILL_CONSIDERED = “sysvinit”
below are used too remove initscripts from your image altogether
VIRTUAL-RUNTIME_init_manager = “systemd”
VIRTUAL-RUNTIME_initscripts = “systemd-compat-units”

Hi @roya,

So far systemd is not supported, and it would probably take some time to adapt the linux for it as there are quite a few sysvinit behaviors in there :frowning: