From 64e9c9eb6ad6edc1fd39eef344f98beb60f91387 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Mon, 20 Sep 2010 21:49:27 +0200
Subject: Adding consle-setup and keyboard-configuration manually to package
 pool for debian-installer in order to workaround a flawed debian-installer
 change in squeeze.

---
 scripts/build/lb_binary_debian-installer | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer
index 9913cfb..8c74d89 100755
--- a/scripts/build/lb_binary_debian-installer
+++ b/scripts/build/lb_binary_debian-installer
@@ -365,6 +365,20 @@ then
 
 	DI_PACKAGES="${DI_PACKAGES} busybox cryptsetup lvm2"
 
+	case "${LB_MODE}" in
+		debian)
+			case "${LB_DISTRIBUTION}" in
+				lenny)
+					DI_PACKAGES="${DI_PACKAGES} console-setup"
+					;;
+
+				*)
+					DI_PACKAGES="${DI_PACKAGES} console-setup keyboard-configuration"
+					;;
+			esac
+			;;
+	esac
+
 	# Set apt command prefix
 	_LB_APT_COMMAND="apt-get ${APT_OPTIONS} -o Dir::Cache=/binary.deb -o APT::Install-Recommends=false --download-only"
 
-- 
cgit v1.0