From 08914bfd2f6999c4aa1444eceb678639ccd64917 2018-11-10 14:48:56 From: Unknown Date: 2018-11-10 14:48:56 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 088d962..00b3f87 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -448,7 +448,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