diff --git a/BLFS/gen_pkg_book.sh b/BLFS/gen_pkg_book.sh
index 26d2191..cbc7033 100755
--- a/BLFS/gen_pkg_book.sh
+++ b/BLFS/gen_pkg_book.sh
@@ -31,6 +31,7 @@ declare -a TARGET
declare DEP_LEVEL
declare SUDO
declare LANGUAGE
+declare KBLAYOUT
declare WRAP_INSTALL
declare DEL_LA_FILES
declare STATS
@@ -56,6 +57,7 @@ parse_configuration() { #
DEL_LA_FILES=* | \
STATS=* | \
LANGUAGE=* | \
+ KBLAYOUT=* | \
SUDO=* ) eval ${REPLY} # Define/set a global variable..
continue ;;
esac
@@ -83,7 +85,7 @@ parse_configuration() { #
validate_configuration() { #
#--------------------------#
local -r dotSTR=".................."
- local -r PARAM_LIST="DEP_LEVEL SUDO LANGUAGE MAIL_SERVER WRAP_INSTALL DEL_LA_FILES STATS"
+ local -r PARAM_LIST="DEP_LEVEL SUDO LANGUAGE KBLAYOUT MAIL_SERVER WRAP_INSTALL DEL_LA_FILES STATS"
local -r PARAM_VALS='${config_param}${dotSTR:${#config_param}} ${L_arrow}${BOLD}${!config_param}${OFF}${R_arrow}'
local config_param
local -i index
@@ -216,6 +218,7 @@ xsltproc --xinclude --nonet \
--stringparam del-la-files "$DEL_LA_FILES" \
--stringparam list-stat "$LIST_STAT" \
--stringparam language "$LANGUAGE" \
+ --stringparam xkblayout "$KBLAYOUT" \
--stringparam fqdn "$(hostname -f)" \
-o ./scripts/ ${MakeScripts} \
${BookXml}
diff --git a/BLFS/xsl/gen_config.xsl b/BLFS/xsl/gen_config.xsl
index c48c090..2782f84 100644
--- a/BLFS/xsl/gen_config.xsl
+++ b/BLFS/xsl/gen_config.xsl
@@ -62,6 +62,13 @@ config LANGUAGE
Because of the book layout, the 3 fields, ll, CC and charmap are
mandatory. The @modfier is honoured if present.
+config KBLAYOUT
+ string "Keyboard layout (to be used in GDM)"
+ default "us"
+ help
+ Used in GDM for setting the login screen keyboard layout.
+ See the GDM page in the book for what to put into this field
+
config SUDO
bool "Build as User"
default y
diff --git a/BLFS/xsl/process-replaceable.xsl b/BLFS/xsl/process-replaceable.xsl
index 031bab9..a94820a 100644
--- a/BLFS/xsl/process-replaceable.xsl
+++ b/BLFS/xsl/process-replaceable.xsl
@@ -53,6 +53,10 @@
'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
+
+
+
+
@@ -85,6 +89,10 @@
+
+
+
+