summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_includes
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-14 18:36:22 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:35 +0100
commit21592c73bc898af3185358a84d57e37805fc296a (patch)
tree77e265c6d85c72397eb27c7ab4383f64e829ff4b /helpers/lh_binary_includes
parent80d4f9808983e9faa0c55bbf8a4189e6b1f3a0dc (diff)
downloadlive-build-21592c73bc898af3185358a84d57e37805fc296a.zip
live-build-21592c73bc898af3185358a84d57e37805fc296a.tar.gz
Only deference symlinks on FAT{16,32} partitions on usb-hdd.
Diffstat (limited to 'helpers/lh_binary_includes')
-rwxr-xr-xhelpers/lh_binary_includes6
1 files changed, 5 insertions, 1 deletions
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