[OE-core] systemd services in the rootfs

Burton, Ross ross.burton at intel.com
Thu Feb 14 10:17:22 UTC 2013


On 14 February 2013 09:09, Florin Sarbu <florin.sarbu at windriver.com> wrote:
> The issue I was referring to was that the individual packages (that contain
> the systemd service files) generated from various recipes, do not end up in
> the rootfs solely by having them declared in the SYSTEMD_PACKAGES and having
> DISTRO_FEATURES_INITMAN ="systemd". You need now to explicitly add these
> ${PN}-systemd (or whatever name you choose for the packages that will hold
> the systemd services) in some packagegroups or image recipes to have them in
> the rootfs. It is not a question of where to have them in the rootfs, but
> rather to have them added in the do_rootfs stage.

Put the service files into the relevant package (i.e. $PN, instead of
into a separate package of their own.

This is different to how meta-systemd worked, because in oe-core
systemd is a DISTRO_FEATURE and not something you can decide at image
construction time.

Ross




More information about the Openembedded-core mailing list