summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-14 18:36:22 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-06-14 18:36:22 +0100
commit5d70e02dd186a0737c1f1bf0dbdfcd5805e61ec8 (patch)
tree77e265c6d85c72397eb27c7ab4383f64e829ff4b
parent72a670c5d2b95eb2877c1fe3c5086db210b9987c (diff)
downloadvyos-live-build-5d70e02dd186a0737c1f1bf0dbdfcd5805e61ec8.tar.gz
vyos-live-build-5d70e02dd186a0737c1f1bf0dbdfcd5805e61ec8.zip
Only deference symlinks on FAT{16,32} partitions on usb-hdd.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-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 ba628efea..70959ace9 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