Bug#185844: Setting keyboard at boot time
I noticed the changes to rootskel in CVS. I do not think it is
required to modify rootskel to be able to set the keyboard at boot
time. When d-i boots, the /etc/init.d/rcS script executes this code:
if [ -d /etc/rcS.d ]; then
for script in /etc/rcS.d/S[0-9][0-9]*; do
[ -x "$script" ] && $script
done
fi
Adding the following script in kbd-chooser as
/etc/rcS.d/S50kbd-chooser (or something similar) should solve the
problem:
#!/bin/sh
kbdchooser=/usr/bin/kbd-chooser
# Set the kbd early, if necessary
if [ -x "$kbdchooser" -a "$bootkbd" ] ; then
$kbdchooser $bootkbd
fi
I believe this is a better place to fix bug #185844. Please test at
let me know if this work. I will remove the changes from rootskel if
this work.
Reply to: