In Fedora 24 the Fedora project split their systemd package into two: * systemd-udev -- for using systemd on bare metal * systemd-container -- systemd services required to run in containers and virtual machines Emulating this split would be a useful first step in reducing the on-target footprint of the systemd package.
http://pkgs.fedoraproject.org/cgit/rpms/systemd.git/tree/systemd.spec
In process review: git://git.openembedded.org/openembedded-core-contrib ChenQi/systemd-container http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/systemd-container
Not merged yet. I'll check it again.
commit 5bd1a35c8c6bd4759830dcecf3f71e5beef0abf7 Author: Chen Qi <Qi.Chen@windriver.com> Date: Fri Aug 19 10:24:11 2016 +0800 systemd: split systemd-container Split container/vm related units into a new package, systemd-container. The split mainly references Fedora 24, with a few differences. Apart from the bash and zsh completion files, the differences include adding systemd-spawn@.service into the systemd-container package. [YOCTO #9835] (From OE-Core rev: 2a4bf6e4c96a8104733add315166210f04c02caf) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>