V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -40,10 +40,12 @@ setup_locales() {
|
||||
do_log "info" "true" "Command: 'update-locale LANG=${locale_locale} LC_ALL=${locale_locale}' executed in: '${TARGET}'."
|
||||
|
||||
# Set the keyboard layout for the system (for consoles)
|
||||
# shellcheck disable=SC2154 # "${locale_keyboard_layout}"
|
||||
sed -i "s/^KEYMAP=.*/KEYMAP=${locale_keyboard_layout}/" "${TARGET}"/etc/default/keyboard
|
||||
do_log "info" "false" "Keyboard layout updated: 'KEYMAP=${locale_keyboard_layout}' -> '${TARGET}/etc/default/keyboard'."
|
||||
|
||||
# Set the X11 keyboard layout (for graphical environments)
|
||||
# shellcheck disable=SC2154 # "${locale_keyboard_xkb_keymap}"
|
||||
do_in_target "${TARGET}" localectl set-x11-keymap "${locale_keyboard_xkb_keymap}"
|
||||
do_log "info" "true" "Command: 'localectl set-x11-keymap ${locale_keyboard_xkb_keymap}' executed in: '${TARGET}'."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user