diff options
author | Daniel Baumann <daniel@debian.org> | 2010-02-18 17:12:59 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:04 +0100 |
commit | 9d6a4dedc2736389349345c29d3a8a48b7b70692 (patch) | |
tree | b227ffc3d77fcd3ba49dabbda5e2674c43f8bea3 /helpers/binary_includes | |
parent | 2dc16bc40d06c08030dc86b736d169a9cd65f791 (diff) | |
download | vyos-live-build-9d6a4dedc2736389349345c29d3a8a48b7b70692.tar.gz vyos-live-build-9d6a4dedc2736389349345c29d3a8a48b7b70692.zip |
Cleaning up usb helpers for a future usb-zip addition.
Diffstat (limited to 'helpers/binary_includes')
-rwxr-xr-x | helpers/binary_includes | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/helpers/binary_includes b/helpers/binary_includes index 196f9027b..e37f4df78 100755 --- a/helpers/binary_includes +++ b/helpers/binary_includes @@ -80,14 +80,15 @@ case "${LH_ARCHITECTURE}" in esac # Working arround vfat limitations -if [ "${LH_BINARY_IMAGE}" = "usb-hdd" ] -then - case "${LH_BINARY_FILESYSTEM}" in - fat*) - CP_OPTIONS="-L" - ;; - esac -fi +case "${LH_BINARY_IMAGES}" in + usb*) + case "${LH_BINARY_FILESYSTEM}" in + fat*) + CP_OPTIONS="-L" + ;; + esac + ;; +esac # Copying common templates if [ -d "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/common ] && \ |