From 8e85924fd6c22dcbc883eda1116b27b218226dc9 Mon Sep 17 00:00:00 2001 From: Luca BRUNO Date: Thu, 23 Dec 2021 12:35:26 +0000 Subject: factory/locale.conf: mention systemd ownership This explicitly mentions that comments and empty lines are supported (and ignored) in /etc/locale.conf. It then adds ownership reference to the factory default. --- factory/templates/locale.conf.in | 2 ++ man/locale.conf.xml | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/factory/templates/locale.conf.in b/factory/templates/locale.conf.in index 421fd569a9..af93d043ec 100644 --- a/factory/templates/locale.conf.in +++ b/factory/templates/locale.conf.in @@ -1 +1,3 @@ +# This is the fallback locale configuration provided by systemd. + LANG="{{ SYSTEMD_DEFAULT_LOCALE }}" diff --git a/man/locale.conf.xml b/man/locale.conf.xml index fe263fcfd8..df19f1a435 100644 --- a/man/locale.conf.xml +++ b/man/locale.conf.xml @@ -32,7 +32,8 @@ The basic file format of locale.conf is a newline-separated list of environment-like shell-compatible - variable assignments. It is possible to source the configuration + variable assignments, ignoring comments and empty lines. + It is possible to source the configuration from shell scripts, however, beyond mere variable assignments, no shell features are supported, allowing applications to read the file without implementing a shell compatible execution @@ -107,7 +108,9 @@ /etc/locale.conf: - LANG=de_DE.UTF-8 + # Custom settings + +LANG=de_DE.UTF-8 LC_MESSAGES=en_US.UTF-8 -- cgit v1.2.1