]> code.ossystems Code Review - openembedded-core.git/commit
systemd-conf: simplify creation of machine-specific configuration
authorAlex Kiernan <alex.kiernan@hivehome.com>
Thu, 2 May 2019 21:09:41 +0000 (22:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 May 2019 21:20:24 +0000 (22:20 +0100)
commit3150253898babce70333376d22090b56b4a70bfb
treeabafb4ce64796bbbb019c05e26a144721700b707
parent76444b63e614baea33c044851a5859f6d1e69729
systemd-conf: simplify creation of machine-specific configuration

The configuration files that systemd installs are just skeletons
detailing the available options and their default values.  The
recommended means of changing the configuration is to provide snippets
in configuration directories.  For example, journald.conf settings are
best set in /usr/lib/system.d/journald.conf.d/ and can be overridden by
the user by providing overriding snippets in
/etc/systemd/journald.conf.d/.

The systemd-conf package is just providing machine-specific overrides
for some systemd defaults.

This patch restores the installation of config files by systemd and
reduces systemd-conf to just providing the config snippets in
/usr/lib/systemd/*.conf.d.  This simpilfies the systemd-conf recipe
considerably since it now just sets up a couple of text files and
doesn't even need access to the systemd source anymore.

License-Update: configuration snippets licensing is independent of
systemd licensing

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd-conf/journald.conf [new file with mode: 0644]
meta/recipes-core/systemd/systemd-conf/logind.conf [new file with mode: 0644]
meta/recipes-core/systemd/systemd-conf/system.conf [new file with mode: 0644]
meta/recipes-core/systemd/systemd-conf/system.conf-qemuall [new file with mode: 0644]
meta/recipes-core/systemd/systemd-conf_242.bb
meta/recipes-core/systemd/systemd_242.bb