]> git.ipfire.org Git - thirdparty/systemd.git/commit
factory: populate /etc/locale.conf with systemd build-time setting
authorLuca BRUNO <luca.bruno@coreos.com>
Thu, 23 Dec 2021 11:01:07 +0000 (11:01 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Thu, 23 Dec 2021 11:01:12 +0000 (11:01 +0000)
commit623370e643e228449f5e49c0d82e6e423ae0e0f7
treebe67f5ff16f8501b3970c3d48b6f5c9ee208eb0f
parent8f7a0fcbecb37569734264483c6ceb49af444982
factory: populate /etc/locale.conf with systemd build-time setting

This adds /etc/locale.conf to the set of configuration files
populated by tmpfiles.d factory /etc handling.
In particular, the build-time locale configuration in systemd is
now wired to a /usr factory file, and installed to the system.
On boot, if other locale customization tools did not write
/etc/locale.conf on the system, the factory default file gets
copied to /etc by systemd-tmpfiles.
This is done in order to avoid skews between different system
components when no locale settings are configured. At that point,
systemd can safely act as the fallback owner of /etc/locale.conf.
factory/templates/locale.conf.in [new file with mode: 0644]
factory/templates/meson.build [new file with mode: 0644]
man/locale.conf.xml
meson.build
tmpfiles.d/etc.conf.in