From 9a03b166882cf68ff34e60fb26b6d460842072be Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Sun, 23 Sep 2007 14:05:12 +0200
Subject: Do not create symlinks on usb-hdd images.

---
 helpers/lh_binary_debian-installer | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 7145043..35d6b6b 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -420,7 +420,10 @@ do
 	ln -s ${LH_DISTRIBUTION} binary/dists/${DISTRIBUTION}
 done
 
-ln -s . binary/debian
+if [ "${LH_BINARY_IMAGES}" != "usb-hdd" ]
+then
+	ln -s . binary/debian
+fi
 
 # Creating stage file
 Create_stagefile .stage/binary_debian-installer
-- 
cgit v1.0