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:

Hi @CoRfr

Is there any progress here? Have tried compiling Systemd in R16.3 firmware for WP76xx and see some init failures.

Attached is the log
Systemd_image_bootlog_putty.txt (20.3 KB)