Changeset 30732c6a


Ignore:
Timestamp:
08/31/2019 12:47:22 PM (5 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
974fe35
Parents:
0a0b609
Message:

Process layout replaceable

Location:
BLFS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BLFS/gen_pkg_book.sh

    r0a0b609 r30732c6a  
    3232declare SUDO
    3333declare LANGUAGE
     34declare KBLAYOUT
    3435declare WRAP_INSTALL
    3536declare DEL_LA_FILES
     
    5758      STATS=*         | \
    5859      LANGUAGE=*      | \
     60      KBLAYOUT=*      | \
    5961      SUDO=*  )  eval ${REPLY} # Define/set a global variable..
    6062                      continue ;;
     
    8486#--------------------------#
    8587  local -r dotSTR=".................."
    86   local -r PARAM_LIST="DEP_LEVEL SUDO LANGUAGE MAIL_SERVER WRAP_INSTALL DEL_LA_FILES STATS"
     88  local -r PARAM_LIST="DEP_LEVEL SUDO LANGUAGE KBLAYOUT MAIL_SERVER WRAP_INSTALL DEL_LA_FILES STATS"
    8789  local -r PARAM_VALS='${config_param}${dotSTR:${#config_param}} ${L_arrow}${BOLD}${!config_param}${OFF}${R_arrow}'
    8890  local config_param
     
    217219         --stringparam list-stat "$LIST_STAT" \
    218220         --stringparam language "$LANGUAGE" \
     221         --stringparam xkblayout "$KBLAYOUT" \
    219222         --stringparam fqdn "$(hostname -f)" \
    220223         -o ./scripts/ ${MakeScripts} \
  • BLFS/xsl/gen_config.xsl

    r0a0b609 r30732c6a  
    6363            mandatory. The @modfier is honoured if present.
    6464
     65config  KBLAYOUT
     66        string "Keyboard layout (to be used in GDM)"
     67        default "us"
     68        help
     69            Used in GDM for setting the login screen keyboard layout.
     70            See the GDM page in the book for what to put into this field
     71
    6572config  SUDO
    6673        bool "Build as User"
  • BLFS/xsl/process-replaceable.xsl

    r0a0b609 r30732c6a  
    5555
    5656<!--===================================================================-->
     57<!-- keyboard layout for the gdm page (as of BLFS 9.0) -->
     58  <xsl:param name="xkblayout" select="'us'"/>
     59
     60<!--===================================================================-->
    5761<!-- the main template: to be adjusted depending on the book -->
    5862  <xsl:template match="replaceable">
     
    8589      <xsl:when test="contains(string(),'@modifier')">
    8690        <xsl:copy-of select="$lang-modifier"/>
     91      </xsl:when>
     92<!-- keyboard layout for X/waylang (only GDM as of BLFS-9.0) -->
     93      <xsl:when test="contains(string(),'layout')">
     94        <xsl:copy-of select="$xkblayout"/>
    8795      </xsl:when>
    8896<!-- At several places, the number of jobs is given as "N" in a replaceable
Note: See TracChangeset for help on using the changeset viewer.