summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-14 05:25:36 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-06-14 05:25:36 +0100
commit88c9e3f922d43f3a57c1258654c57825395eb8e6 (patch)
tree8f3e185adfc4e7970c40cb81c4044a029737e8b1 /helpers
parentf0d589d6a4059acbbc0344a234102d7c856129be (diff)
downloadvyos-live-build-88c9e3f922d43f3a57c1258654c57825395eb8e6.tar.gz
vyos-live-build-88c9e3f922d43f3a57c1258654c57825395eb8e6.zip
Always deference symlinks when installing some binary includes to fix breakage on amd64.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_includes4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes
index ba628efea..fc5ff5fd7 100755
--- a/helpers/lh_binary_includes
+++ b/helpers/lh_binary_includes
@@ -118,13 +118,13 @@ then
if [ -d "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install ] && \
ls "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install/* > /dev/null 2>&1
then
- cp -r ${CP_OPTIONS} "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install/* binary
+ cp -r -L ${CP_OPTIONS} "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install/* binary
fi
if [ -d "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install."${ARCH}" ] && \
ls "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install."${ARCH}"/* > /dev/null 2>&1
then
- cp -r ${CP_OPTIONS} "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install."${ARCH}"/* binary
+ cp -r -L ${CP_OPTIONS} "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install."${ARCH}"/* binary
fi
# Adjusting install templates