]> code.ossystems Code Review - openembedded-core.git/commit
systemd.bbclass: enable all services specified in ${SYSTEMD_SERVICE}
authorMikko Rapeli <mikko.rapeli@bmw.de>
Thu, 17 Oct 2019 07:31:58 +0000 (10:31 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 19 Oct 2019 17:13:38 +0000 (18:13 +0100)
commit68a10763e64764a0d43be9162e7b99833f5296db
tree126bb6f85a7d07a47684220a3d31bdd1a74faf17
parent81b375ac7851088a671317468a8e2eed69d4a827
systemd.bbclass: enable all services specified in ${SYSTEMD_SERVICE}

This has been the traditional way of enabling systemd services.
It may conflict with presets feature, but other layers, image classes
and recipes add services to be enabled using SYSTEMD_SERVICE
variable also with read-only rootfs, e.g. IMAGE_FEATURES has
stateless-rootfs and systemd_preset_all task is not executed.

Fixes startup of custom services from our recipes using custom
image classes with various BSP layers. In the worst case even
serial console getty service wasn't starting due to dependency
no not enabled services.

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/systemd.bbclass