From 21592c73bc898af3185358a84d57e37805fc296a Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Sat, 14 Jun 2008 18:36:22 +0100
Subject: Only deference symlinks on FAT{16,32} partitions on usb-hdd.

---
 helpers/lh_binary_includes | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes
index ba628ef..70959ac 100755
--- a/helpers/lh_binary_includes
+++ b/helpers/lh_binary_includes
@@ -83,7 +83,11 @@ esac
 # Working arround vfat limitations
 if [ "${LH_BINARY_IMAGE}" = "usb-hdd" ]
 then
-	CP_OPTIONS="-L"
+	case "${LH_BINARY_FILESYSTEM}" in
+		fat*)
+			CP_OPTIONS="-L"
+			;;
+	esac
 fi
 
 # Copying common templates
-- 
cgit v1.0