summaryrefslogtreecommitdiffstats
path: root/factory/templates (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vconsole: allow setting default keymap through build optionMike Yuan2023-02-152-0/+11
| | | | | | | Allow defining the default keymap to be used by vconsole-setup through a build option. A template vconsole.conf also gets populated by tmpfiles if it doesn't exist.
* meson: also allow setting GIT_VERSION via templatesZbigniew Jędrzejewski-Szmek2022-04-051-1/+1
| | | | | | | | | GIT_VERSION is not available as a config.h variable, because it's rendered into version.h during builds. Let's rework jinja2 rendering to also parse version.h. No functional change, the new variable is so far unused. I guess this will make partial rebuilds a bit slower, but it's useful to be able to use the full version string.
* factory/locale.conf: mention systemd ownershipLuca BRUNO2021-12-231-0/+2
| | | | | | 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: populate /etc/locale.conf with systemd build-time settingLuca BRUNO2021-12-232-0/+12
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.