--- /dev/null
+LANG="{{ SYSTEMD_DEFAULT_LOCALE }}"
--- /dev/null
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+factory_etc_dir = factorydir / 'etc'
+
+custom_target(
+ 'locale.conf',
+ input : 'locale.conf.in',
+ output : 'locale.conf',
+ command : [meson_render_jinja2, config_h, '@INPUT@', '@OUTPUT@'],
+ install : true,
+ install_dir : factory_etc_dir)
might be checked for locale configuration as well, however only as
fallback.</para>
- <para><filename>/etc/locale.conf</filename> is usually created and updated
+ <para><filename>/etc/locale.conf</filename> can be updated
using
<citerefentry><refentrytitle>systemd-localed.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
<citerefentry project='man-pages'><refentrytitle>localectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>
may be used to alter the settings in this file during runtime from
the command line. Use
<citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry>
- to initialize them on mounted (but not booted) system images.</para>
+ to customize them on mounted (but not booted) system images.</para>
</refsect1>
<refsect1>
install_subdir('factory/etc',
install_dir : factorydir)
+subdir('factory/templates')
if install_sysconfdir
install_data('xorg/50-systemd-user.sh',
{% 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 - - - -