Bug#560187: live-initramfs: Can't set keyboard option squeeze/sid
Package: live-initramfs
Version: 1.157.4-2
Severity: normal
Tags: l10n patch
Keyboard option is not set live-initramfs /etc/default/keyboard.
scripts/live-bottom/19keyboard does not seem to set.
-- Package-specific info:
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages live-initramfs depends on:
ii busybox 1:1.14.2-2 Tiny utilities for small and embed
ii file 5.03-4 Determines file type using "magic"
ii initramfs-tools 0.93.4 tools for generating an initramfs
ii sudo 1.7.2p1-1 Provide limited super user privile
ii udev 149-1 /dev/ and hotplug management daemo
ii user-setup 1.28 Set up initial user and password
Versions of packages live-initramfs recommends:
pn cryptsetup <none> (no description available)
ii eject 2.1.5+deb1+cvs20081104-7 ejects CDs and operates CD-Changer
ii uuid-runtime 2.16.2-0 runtime components for the Univers
ii wget 1.12-1.1 retrieves files from the web
Versions of packages live-initramfs suggests:
ii curlftpfs 0.9.2-1 filesystem to access FTP hosts bas
ii genext2fs 1.4.1-2.2 ext2 filesystem generator for embe
pn httpfs2 <none> (no description available)
ii loop-aes-utils 2.15.1~rc1-2 Tools for mounting and manipulatin
ii mtd-tools 20090606-1 dummy package for transition purpo
ii mtd-utils [mtd-tools] 20090606-1 Memory Technology Device Utilities
ii squashfs-tools 1:4.0-6 Tool to create and append to squas
-- no debconf information
--- scripts/live-bottom/19keyboard.orig 2009-10-17 15:01:37.000000000 +0900
+++ scripts/live-bottom/19keyboard 2009-12-09 20:50:57.000000000 +0900
@@ -61,17 +61,17 @@
csmodel="${KMODEL}"
fi
-if [ -x /root/bin/setupcon ] && [ -f /root/etc/default/console-setup ]
+if [ -x /root/bin/setupcon ] && [ -f /root/etc/default/keyboard ]
then
if [ "${cslayout}" ]
then
chroot /root sed -i "s/^XKBLAYOUT=.*/XKBLAYOUT=\"${cslayout}\"/" \
- /etc/default/console-setup
+ /etc/default/keyboard
if [ "${csvariant}" ]
then
chroot /root sed -i "s/^XKBVARIANT=.*/XKBVARIANT=\"${csvariant}\"/" \
- /etc/default/console-setup
+ /etc/default/keyboard
else
live-preseed /root console-setup/variantcode '' false
fi
@@ -79,7 +79,7 @@
if [ "${csmodel}" ]
then
chroot /root sed -i "s/^XKBMODEL=.*/XKBMODEL=\"${csmodel}\"/" \
- /etc/default/console-setup
+ /etc/default/keyboard
else
live-preseed /root console-setup/modelcode '' false
fi
Reply to: