]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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>
Fri, 3 May 2019 05:11:57 +0000 (06:11 +0100)
commit92d9c493c47975c94cb159ee87574710bd0c1014
treec3c40d5fc153c9dac3f3755792320c104e0dc373
parent119d310f36bfaba25ad99266ad41f5abca748b43
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

(From OE-Core rev: 3150253898babce70333376d22090b56b4a70bfb)

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