Subject: Do not create symlinks on usb-hdd images.

From: Daniel Baumann <[email-masked]>
Date: Sun, 23 Sep 2007 14:05:12 +0200

---
 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