From f57203d2476e7875532de04a11f52b46fa6ae8fa Mon Sep 17 00:00:00 2001
From: Chris Lamb <lamby@debian.org>
Date: Tue, 4 Aug 2009 23:49:12 +0100
Subject: 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.
---
 functions/defaults.sh | 5 ++---
 1 file 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
-- 
cgit v1.0