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

Re: Bug#452331: console-data: Avoid showing "keymaps policy" question during D-I installs



reassign 452331 console-common
thanks

Quoting Frans Pop (elendil@planet.nl):
> Package: console-data
> Version: 2:1.03-1
> Severity: wishlist
> Tags: d-i
> 
> I'm setting severity wishlist, but this issue is fairly important for
> Debian Installer.
> 
> Before a recent change in the installer, configuration questions would
> be suppressed during installation of the base-system. This is now no
> longer the case [1].
> The only question that now shows up is the "Policy for handling keymaps"
> question from console-data. Displaying this question is undesired as D-I
> will itself install the correct keymap based on keymap selection earlier
> in the installation.
> 
> It would be great if this question could somehow be suppressed, but I'm
> not sure how best to implement this as the question probably should be
> asked suring other new installations (e.g. when using debootstrap
> manually to set up a chroot).
> 
> Some discussion about this is probably needed. Please CC the debian-boot
> mailinglist for that.

Hmmm, well ; It's quite some time that I'm acting as maintainer for
console-data and partly console-common.

Unfortunately, I can't tell I'm entirely sure to understand everything
in all this and the way both packages are interacting together.

Anyway, what I'm 98% sure of: that question indeed comes from a config
script chunk that's added to console-data by dh_consoledata
(originally meant to be able to have a common infrastructure for
packages providing keymaps and/or console fonts).

So, I'm therefore 98% sure that the bug should be reassigned to
console-common and the thing that needs modification is 'config.in' in
that package's source.

That script is Perl source...and really hard for me to understand. So,
some help figuring exactly what needs modification is probably
required. The only suggestion I can make is turning:

      # This one has a default, we can trust it has a value
      ($ret) = input ('high', 'console-data/keymap/policy');

To:

      # This one has a default, we can trust it has a value
      ($ret) = input ('medium', 'console-data/keymap/policy');


...but that would not deactivate the question in D-I, just deactivate
it in *default* installs.

The real fix would probably be to skip the entire state machine is
"run from D-I". That means:

- find a good test for this
- write the test correctly in Perl


Attachment: signature.asc
Description: Digital signature


Reply to: