From 788d710418885811fca900a6515e8ac695ac8c3f Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Sat, 21 Oct 2023 01:46:06 +0700 Subject: [PATCH] l10n: set KEYMAP in vconsole.conf if exist --- features.in/l10n/rootfs/image-scripts.d/50-l10n-kbd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features.in/l10n/rootfs/image-scripts.d/50-l10n-kbd b/features.in/l10n/rootfs/image-scripts.d/50-l10n-kbd index 36b66194..d2c567e0 100755 --- a/features.in/l10n/rootfs/image-scripts.d/50-l10n-kbd +++ b/features.in/l10n/rootfs/image-scripts.d/50-l10n-kbd @@ -2,6 +2,7 @@ # partial port of livecd-setlocale (kbd bits) CONFIG=/etc/sysconfig/keyboard +VCONSOLE_CONF=/etc/vconsole.conf # Requires: console-scripts if [ -s "$CONFIG" ]; then @@ -15,3 +16,4 @@ if [ -z "$GLOBAL_KEYTABLE" ]; then fi echo "KEYTABLE=$GLOBAL_KEYTABLE" > "$CONFIG" +[ -f "$VCONSOLE_CONF" ] && echo "KEYMAP=$GLOBAL_KEYTABLE" >> "$VCONSOLE_CONF"