Bug#651229: console-setup: ckbcomp not found when booting
On Wed, Dec 07, 2011 at 03:46:34PM +0100, Miguel Angel Rojas wrote:
>
> - If ckbcomp could not be called at boot time...
Console-setup has two boot scripts - /etc/inid.d/keyboard-setup and
/etc/init.d/console-setup. During the execution of the second script
/usr is mounted and setupcon is able to execute ckbcomp if necessary.
> why this is inside in /bin/setupcon (which is called at boot time)?
> Same idea for the other binaries you mentioned
Setupcon is meant to be an universal script working in any situation -
with or without /usr, with /bin/setfont or with /bin/consolechars, on
Linux or on FreeBSD, with full installation or in the micro-Debian of
the Installer, with enough configuration data or with errors in the
configuration files and guessed settings. The boot scripts of
console-setup can rely on this - they simply execute setupcon and do
nothing more.
> - How is the preliminary keymap precompiled in /etc/console-setup ?
> Which command should you execute?
The second boot script of console-setup does this - /usr is mounted so
there is no problem.
Anton Zinoviev
Reply to: