summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_localincludes
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_binary_localincludes')
-rwxr-xr-xhelpers/lh_binary_localincludes6
1 files changed, 6 insertions, 0 deletions
diff --git a/helpers/lh_binary_localincludes b/helpers/lh_binary_localincludes
index 2c1f752..66504c1 100755
--- a/helpers/lh_binary_localincludes
+++ b/helpers/lh_binary_localincludes
@@ -53,6 +53,12 @@ then
find . | cpio -dmpu "${OLDPWD}"/binary
cd "${OLDPWD}"
+ # Removing symlinks
+ if [ "${LIVE_BINARY_IMAGE}" = "usb-hdd" ]
+ then
+ find binary -type l | xargs rm -f
+ fi
+
# Creating stage file
Create_stagefile .stage/binary_localincludes
fi