[Simple-cdd-devel] Bug#701998: simple-cdd: --keyboard parameter doesn't work with wheezy

Vagrant Cascadian vagrant at debian.org
Mon Mar 4 07:59:55 UTC 2013


Control: tags 701998 fixed-upstream pending

On Fri, Mar 01, 2013 at 03:25:41PM +0100, Raphaël Hertzog wrote:
> The keyboard parameter sets the following kernel parameter:
> console-keymaps-at/keymap=$keyboard
> 
> With wheezy (and newer), one should use
> "keymap=$keyboard" or "keyboard-configuration/xkb-keymap=$keyboard".

This is fixed upstream in bzr, which contains both the old and new values, to
allow building both older and newer images:

  524 Vagrant Cascadian 2012-12-07
      Use newer preseeding for setting keyboard layout from KERNEL_PARAMS. Thanks to
      Gustavo Ortiz Uriburu for the patch.
      === modified file 'build-simple-cdd'
      --- build-simple-cdd      2012-12-07 23:16:19 +0000
      +++ build-simple-cdd      2012-12-07 23:22:46 +0000
      @@ -468,7 +468,7 @@

       if [ -n "$keyboard" ]; then
         echo "setting default keyboard..."
      -  KERNEL_PARAMS="$KERNEL_PARAMS console-keymaps-at/keymap=$keyboard"
      +  KERNEL_PARAMS="$KERNEL_PARAMS console-keymaps-at/keymap=$keyboard keyboard-configuration/xkb-keymap=$keyboard keyboard-configuration/layout=$keyboard"
         echo "KERNEL_PARAMS: $KERNEL_PARAMS"
       fi

Might try and get a fixed package in for wheezy... presuming setting all those
values don't conflict somehow.


live well,
  vagrant



More information about the Simple-cdd-devel mailing list