mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 12:13:33 +08:00
623370e643
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.
21 lines
627 B
Plaintext
21 lines
627 B
Plaintext
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# See tmpfiles.d(5) for details
|
|
|
|
L /etc/os-release - - - - ../usr/lib/os-release
|
|
L+ /etc/mtab - - - - ../proc/self/mounts
|
|
{% if HAVE_SMACK_RUN_LABEL %}
|
|
t /etc/mtab - - - - security.SMACK64=_
|
|
{% endif %}
|
|
C! /etc/locale.conf - - - -
|
|
C! /etc/nsswitch.conf - - - -
|
|
{% if HAVE_PAM %}
|
|
C! /etc/pam.d - - - -
|
|
{% endif %}
|
|
C! /etc/issue - - - -
|