From ae1ce64f09da3a20f08cd529c8f5b91787331e9d 2018-11-10 20:35:17 From: Unknown Date: 2018-11-10 20:35:17 Subject: [PATCH] Fix for XKB bug - should fix https://github.com/drtyhlpr/rpi23-gen-image/issues/73 - installing needed local and keyboard packages for XKB configuration --- diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index 2a8159c..f02179e 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -439,7 +439,7 @@ if [ "$ENABLE_MINBASE" = true ] ; then fi # Add required locales packages -if [ "$DEFLOCAL" != "en_US.UTF-8" ] ; then +if [ "$DEFLOCAL" != "en_US.UTF-8" ] || ([ -n XKB_MODEL ] || [ -n XKB_LAYOUT ] || [ -n XKB_VARIANT ] || [ -n XKB_OPTIONS ]); then APT_INCLUDES="${APT_INCLUDES},locales,keyboard-configuration,console-setup" fi