[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#696773: console-setup: Probable lack of update-initramfs in postinst



On Thu, Dec 27, 2012 at 12:16:40AM +0100, Cyril Brulebois wrote:
> 
> as discussed in #694156, it would be nice if console-setup would call
> update-initramfs once installed/updated/reconfigured (one might want to
> change some settings like the configured keymap for example).

This is simply an example case of a more general issue: currently 
console-setup lacks the ability to tell the interested software 
components when the keyboard configuration changes.  For example lots of 
people have suggested that X should update its configuration when 
keyboard-configuration is reconfigured or changes in 
/etc/default/keyboard are detected.

In order to have this ability we can create a directory where any 
interested package can install a script to be triggered by console-setup.

With this I am not suggesting that the X people have to implement 
keyboard reconfiguration on the fly.  I am merely stating that from the 
point of view of console-setup it will be clearer to call commands such 
as update-initramfs by means of a script provided by another package 
rather than directly.

Anton Zinoviev


Reply to: