summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_debian-installer
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-20 21:49:27 +0200
committerDaniel Baumann <daniel@debian.org>2010-09-20 21:49:35 +0200
commit032ecaedc9f00842f1bcb9ba24f20d693bab752d (patch)
tree4914c1144b9b78ebd2da0bfefbcee7270e13564b /scripts/build/lb_binary_debian-installer
parent73b127050d47d5d2b89dd5d0ba4785dac677fbfc (diff)
downloadvyos-live-build-032ecaedc9f00842f1bcb9ba24f20d693bab752d.tar.gz
vyos-live-build-032ecaedc9f00842f1bcb9ba24f20d693bab752d.zip
Adding consle-setup and keyboard-configuration manually to package pool for debian-installer in order to workaround a flawed debian-installer change in squeeze.
Diffstat (limited to 'scripts/build/lb_binary_debian-installer')
-rwxr-xr-xscripts/build/lb_binary_debian-installer14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer
index 9913cfb86..8c74d894f 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"