On Sun, Feb 03, 2019 at 11:48:06PM +0100, Ben Hutchings wrote: > On Sun, 06 Jan 2019 10:59:47 -0800 Josh Triplett <j...@joshtriplett.org > > wrote: > > Package: initramfs-tools-core > > Version: 0.132 > > Severity: normal > > File: /usr/share/initramfs-tools/hooks/keymap > > > > initramfs-tools ships a hook for setting a keymap, which complains on > > every run of update-initramfs without kbd or console-setup installed. > > Please consider moving this hook to kbd or console-setup, so that it > > doesn't run at all without one of those packages installed. > > This only happens if you set KEYMAP=y in initramfs.conf or you install > a package that does that.
Yes, I'm aware of that. > (cryptsetup-initramfs does so, on the > assumption that you will need to type a passphrase.) And I have cryptsetup-initramfs installed (and kbd and console-setup intentionally not installed). > I don't consider this a bug. I get a complaint every single time I upgrade packages that cause the initramfs trigger to run, and every time I regenerate the initramfs myself. I'd like to stop getting that message. This hook doesn't make sense to run unless kbd or console-setup is installed. Rather than having the hook in initramfs-tools and checking if kbd or console-setup is installed, why not move the hook to one of those packages (where it can *know* that package is installed)? cryptsetup-initramfs already Recommends kbd and console-setup. This error message feels tantamount to emitting a warning on every single apt upgrade saying "there are recommended packages you don't have installed".