#696774 [TRIGGER] should probably dpkg-trigger update-initramfs

#696774#5
Date:
2012-12-26 23:24:15 UTC
From:
To:
Coin,

After looking at #694156, i wondered how the keymap would be wrongly
set. I guessed it would affect other situations and wondered what
would happen if i decided to change the c-s settings.

I unpacked /boot/initrd.img-3.2.0-4-686-pae, wrote aside the md5sum of
etc/boottime.kmap.gz. I then changed the c-s settings
(dpkg-reconfigure), did the process again, and the sum was unchanged.
If I then run update-initramfs -u -k all myself, redid the process,
and the sum is changed.

In the postinst code, or in setupcon i cannot see anything related to
the initramfs. I fail to see how it is supposed to be updated. I
believe dpkg-trigger update-initramfs should be called in postinst,
either unconditionally, or at least when non-defaut settings are used.
This would probably help #694156 as well.

Regards.