From f129d0e77c4c9a0e12ae38cd241cd49846844a80 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Wed, 18 Jan 2023 01:21:59 +0800 Subject: vconsole: allow setting default keymap through build option 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. --- factory/templates/meson.build | 8 ++++++++ factory/templates/vconsole.conf.in | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 factory/templates/vconsole.conf.in (limited to 'factory') diff --git a/factory/templates/meson.build b/factory/templates/meson.build index ece2c644ff..a3ba7b166f 100644 --- a/factory/templates/meson.build +++ b/factory/templates/meson.build @@ -9,3 +9,11 @@ custom_target( command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'], install : true, install_dir : factory_etc_dir) + +custom_target( + 'vconsole.conf', + input : 'vconsole.conf.in', + output : 'vconsole.conf', + command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'], + install : true, + install_dir : factory_etc_dir) diff --git a/factory/templates/vconsole.conf.in b/factory/templates/vconsole.conf.in new file mode 100644 index 0000000000..f682487695 --- /dev/null +++ b/factory/templates/vconsole.conf.in @@ -0,0 +1,3 @@ +# This is the fallback vconsole configuration provided by systemd. + +#KEYMAP={{ SYSTEMD_DEFAULT_KEYMAP }} -- cgit v1.2.1