Bug#686815: grub-common should recommend `console-setup` containing `/usr/bin/ckbcomp` for `grub-kbdcomp`

Colin Watson cjwatson at debian.org
Thu Sep 6 10:16:48 UTC 2012


On Thu, Sep 06, 2012 at 11:10:10AM +0200, Paul Menzel wrote:
> the program/script `/usr/bin/kbdcomp` shipped by `grub-common`
> 
>         $ more /usr/bin/kbdcomp
>         #!/bin/sh
> 
>         transform="s,x,x,"
> 
>         prefix="/usr"
>         exec_prefix="${prefix}"
>         bindir="${exec_prefix}/bin"
> 
>         grub_mklayout=${bindir}/`echo grub-mklayout | sed ${transform}`
> 
>         ckbcomp "$@" | $grub_mklayout -o "$1".gkb
> 
> uses `ckbcomp` which is packaged by `console-setup`. Therefore
> `grub-common` needs to either depend or recommend `console-setup`.

I think Suggests would be quite sufficient.  Yes, grub-kbdcomp (I'm not
sure where you're getting /usr/bin/kbdcomp from) uses ckbcomp, but
grub-kbdcomp is not an essential part of GRUB.  I get enough complaints
about GRUB being too heavyweight as it is, and I'm reluctant to add to
them further.

In this case, to paraphrase policy, console-setup is certainly related
to GRUB and "can [...] enhance its usefulness", but "installing [GRUB]
without them is perfectly reasonable".

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the Pkg-grub-devel mailing list