summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2009-08-04 23:49:12 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:45 +0100
commitf57203d2476e7875532de04a11f52b46fa6ae8fa (patch)
tree69477596eb45304f182add1673764e1dd7bcbc14 /functions
parent29c423b89affac8fff14848b493d982f784b133f (diff)
downloadlive-build-f57203d2476e7875532de04a11f52b46fa6ae8fa.zip
live-build-f57203d2476e7875532de04a11f52b46fa6ae8fa.tar.gz
Fix usb-hdd d-i installation.
The real fix was done in d-i; this patch change simply turns on the right switches. In other words, you will need to use a very new d-i for this to work, possibly with components from SVN. Let's hold off on actually closing #510280 though, as it gives the wrong impression.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index b501298..4467180 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -791,9 +791,8 @@ Set_defaults ()
if [ -z "${LH_BOOTAPPEND_INSTALL}" ]
then
- # Ubuntu's d-i is patched to be able to use usb-hdd block devices for
- # install media if enabled by preseeding cdrom-detect/try-usb to true.
- if [ "${LH_MODE}" = "ubuntu" ] && [ "${LH_BINARY_IMAGES}" = "usb-hdd" ]
+ # Try USB block devices for install media
+ if [ "${LH_BINARY_IMAGES}" = "usb-hdd" ]
then
LH_BOOTAPPEND_INSTALL="cdrom-detect/try-usb=true"
fi