Bug#509117: saving the console-setup keyboard config speeds boot
Package: console-setup
Version: 1.28
Severity: minor
Using bootchart to profile the boot time of my laptop (Thinkpad X31), I've noticed that it takes a long time in keyboard-setup and console-setup init scripts.
I've searched and found that setupcon, tool called by these 2 init scripts, is
always rebuilding keyboard definition from Xorg files at each boot time !
I've used the '--save' command of setupcon to save it to disk (in /etc/console-setup/boottime.kmap.gz and now, these boot scripts run very quickly, and bootchart tells me I gained 9 seconds :-)
Perhaps a mechanism could be added to save config or suggest it ?
Fred.
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (990, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-x31 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages console-setup depends on:
ii console-terminus 4.26-2.1 Fixed-width fonts for fast reading
ii debconf [debconf-2. 1.5.24 Debian configuration management sy
ii xkb-data 1.3-2.1bepo+1.0rc2.2 X Keyboard Extension (XKB) configu
Versions of packages console-setup recommends:
ii kbd 1.14.1-4 Linux console font and keytable ut
Versions of packages console-setup suggests:
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
-- debconf information excluded
Reply to: