diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-07-10 01:50:12 +0000 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-07-10 01:50:12 +0000 |
| commit | 6a82df4dbca4b5fb82ac2e93645395a835b8460d (patch) | |
| tree | f5a587b6d2ed4056395352c46b36aaed59099c8b | |
| parent | 40ffdd5ac3747928d21a0a8243c7ffa15988c099 (diff) | |
hurd-console.default: Get keyboard layout from console-setup.
| -rw-r--r-- | debian/changelog | 1 | ||||
| -rw-r--r-- | debian/hurd-console.default | 18 |
2 files changed, 7 insertions, 12 deletions
diff --git a/debian/changelog b/debian/changelog index a9fdf6a9..99b187a3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ hurd (20120710-1) UNRELEASED; urgency=low - patches/libdde_config.patch: Remove, merged upstream. - patches/libdde_fixes.patch: Remove, merged upstream. - patches/ext2fs_large_stores.patch: Refresh. + * hurd-console.default: Get keyboard layout from console-setup. -- Samuel Thibault <sthibault@debian.org> Tue, 10 Jul 2012 01:36:55 +0000 diff --git a/debian/hurd-console.default b/debian/hurd-console.default index 3655eb70..db67f3fa 100644 --- a/debian/hurd-console.default +++ b/debian/hurd-console.default @@ -11,18 +11,12 @@ DISPLAY='-d vga' # console-driver-xkb package. KBD='-d pc_kbd' -# The alternative xkb keyboard driver, as provided by the -# console-driver-xkb package. It uses X11 style keymaps and supports -# different keymaps. Possible options are: -# --keymap: The keymap to use. By default en_US is used. Examples of -# some other keymaps are: fr, us, de, dvorak. -# --keymapfile: The file that hold the descriptions of the default -# keymaps file. This file holds the description of all keymaps. This -# path should be relative to the path set by `xkbdir'. By default -# "keymap/xfree86" is used. -# --xkbdir: The root directory of the xkb configuration, by default -# this is /etc/X11/xkb. -#KBD='-d xkb' +# this is bogus for a lot of cases, but the best we can do for now. +if [ -f /etc/default/keyboard ] +then + . /etc/default/keyboard +fi +[ -z "$XKBLAYOUT" ] || KBD="$KBD --keymap $XKBLAYOUT" # The keyboard repeater. Required for running X11. KBD_REPEAT='--repeat=kbd' |
