Hi, I've just committed the following patch for kbd-chooser (which is currently responsible for installing console-setup). The patch sets the seen flag for the keyboard variant debconf question to avoid its display during base-installer. The patch already takes into account the split off from console-setup of keyboard-configuration currently in NEW. A similar solution could be used by c-s itself in c-s-udeb. The reason this is needed even when c-s-udeb is used, is that D-I uses seen flags differently from the installed system. They do not get set when a question is asked because they are reserved for preseeding. So if you want a seen flag set unconditionally for the target environment, you need to set it manually. The line that sets the value to an empty string is needed because you cannot set the seen flag for a question that does not yet exist. An empty value does not interfere with setting the value by c-s itself (and there is no risk that the question already exists through preseeding, otherwise the existence of the question would need to be tested first). Patch has been successfully tested with current console-setup with s/keyboard-configuration/console-setup/g Cheers, FJP --- debian/changelog (revision 61287) +++ debian/changelog (working copy) @@ -1,3 +1,10 @@ +kbd-chooser (1.50) UNRELEASED; urgency=low + + * Avoid display of keyboard-configuration debconf dialog when it is + installed during post-base-installer.d by setting the seen flag. + + -- Frans Pop <firstname.lastname@example.org> Sun, 15 Nov 2009 17:51:08 +0100 + kbd-chooser (1.49) unstable; urgency=low [ Frans Pop ] Index: debian/post-base-installer =================================================================== --- debian/post-base-installer (revision 61287) +++ debian/post-base-installer (working copy) @@ -8,6 +8,14 @@ exit 0 fi +# Avoid display of keyboard-configuration dialog (pulled in by +# console-setup); just setting the seen flag fails, so first +# set an empty value to create the question +LANG=C chroot /target debconf-set-selections <<EOF +keyboard-configuration keyboard-configuration/variant select "" +keyboard-configuration keyboard-configuration/variant seen true +EOF + apt-install console-setup || true exit 0 # console-setup will handle the rest of it
Description: This is a digitally signed message part.