Package: live-installer Severity: serious Version: 27 Tags: patch Owner: debian-live@lists.debian.org
As it is now, live-installer fails in providing a proper keyboard configuration in the installed system, in fact it fails in propagating kbd-chooser debconf values. Something changed in how console-setup-udeb is handled in d-i, and for squeeze i found that depending on it and invoking the postinst would succeed. Note that live-build fails to provide console-setup-udeb (fixed in git) available in "pool/" and since console-setup-udeb is not available anymore in the initrd, to test this patch you need to fix live-build exclude-udeb or provide a console-setup-udeb in some way. Patch attached. -- ESC:wq
From 5c3dfb5cb1d660d6824bc3c4ebdecbbc11bf024c Mon Sep 17 00:00:00 2001 From: Marco Amadori <amado...@vdavda.com> Date: Tue, 16 Nov 2010 17:19:26 +0100 Subject: [PATCH] Fix keyboard setup. * Explicit depends on console-setup-udeb and call its postinst to transfer d-i choosed keymap to target system. --- debian/changelog | 6 ++++++ debian/control | 2 +- live-installer.d/console-setup | 5 +++++ 3 files changed, 12 insertions(+), 1 deletions(-) create mode 100755 live-installer.d/console-setup diff --git a/debian/changelog b/debian/changelog index 1d43205..a3317ab 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +live-installer (28) UNRELEASED; urgency=low + + * Fix missing keyboard setup by calling console-setup-udeb postinst. + + -- Marco Amadori <amado...@vdavda.com> Tue, 16 Nov 2010 17:15:33 +0100 + live-installer (27) unstable; urgency=low * We should depends on created-fstab since it needs to be available to diff --git a/debian/control b/debian/control index a18e966..8910e0f 100644 --- a/debian/control +++ b/debian/control @@ -17,7 +17,7 @@ Architecture: any Depends: ${shlibs:Depends}, archdetect, base-installer (>= 1.105), busybox-udeb (>= 1:1.13.3), cdebconf-udeb, created-fstab, mounted-partitions, - squashfs-modules + squashfs-modules, console-setup-udeb Provides: installed-base, kernel-installer XB-Installer-Menu-Item: 6500 Description: Install the system diff --git a/live-installer.d/console-setup b/live-installer.d/console-setup new file mode 100755 index 0000000..37ffa8e --- /dev/null +++ b/live-installer.d/console-setup @@ -0,0 +1,5 @@ +#!/bin/sh -e + +if [ -e /var/lib/dpkg/info/console-setup-udeb.postinst ]; then + /var/lib/dpkg/info/console-setup-udeb.postinst +fi -- 1.7.1