Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #63244

Bug#918498: /usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package

From Josh Triplett <josh@joshtriplett.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#918498: /usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package
Date 2019-02-04 07:50 +0100
Message-ID <xnGeR-62t-3@gated-at.bofh.it> (permalink)
References <xdlY6-6g9-7@gated-at.bofh.it> <xnyU1-1mw-3@gated-at.bofh.it> <xdlY6-6g9-7@gated-at.bofh.it> <xnyU1-1mw-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Sun, Feb 03, 2019 at 11:48:06PM +0100, Ben Hutchings wrote:
> On Sun, 06 Jan 2019 10:59:47 -0800 Josh Triplett <josh@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".

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#918498: /usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package Josh Triplett <josh@joshtriplett.org> - 2019-01-06 20:10 +0100
  Bug#918498: marked as done (/usr/share/initramfs-tools/hooks/keymap:  Please ship in the kbd or console-setup package) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-02-04 00:00 +0100
  Bug#918498: /usr/share/initramfs-tools/hooks/keymap: Please ship in the kbd or console-setup package Josh Triplett <josh@joshtriplett.org> - 2019-02-04 07:50 +0100

csiph-web