Bug 9835

Summary: Split container/vm related systemd services into a separate package
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Joshua Lock <joshuagloe>
Component: coreAssignee: Chen Qi <Qi.Chen>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: meta.mr.watcher, meta.watcher, sgw
Version: 2.2   
Target Milestone: 2.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Joshua Lock 2016-06-28 12:19:07 UTC
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.
Comment 2 Chen Qi 2016-07-14 03:29:19 UTC
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
Comment 3 Chen Qi 2016-08-02 03:08:25 UTC
Not merged yet.
I'll check it again.
Comment 4 Chen Qi 2016-09-01 09:18:04 UTC
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>