From: Dan Radez Date: Thu, 12 Nov 2015 23:44:41 +0000 (-0500) Subject: changing copying to linking to save time and space on the build X-Git-Tag: brahmaputra.1.rc0~47^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=b85743805f82af8376c98568af5a83dfd37f2185;p=apex.git changing copying to linking to save time and space on the build Change-Id: I6a0a63f04c0693b9dd2f4a137475ef00c2377455 --- diff --git a/ci/build.sh b/ci/build.sh index c052ab0b..82d5b637 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -386,14 +386,14 @@ if [ $rc -gt 0 ]; then rc=100 exit $rc fi -echo "Copying built OPNFV .iso file to target directory ${BUILD_DIR} ..." +echo "Linking built OPNFV .iso file to target directory ${BUILD_DIR} ..." rm -rf ${BUILD_DIR} mkdir -p ${BUILD_DIR} -cp ${BUILD_BASE}/.versions ${BUILD_DIR} -cp ${RESULT_DIR}/*.iso* ${BUILD_DIR} -echo "Copying built OPNFV .rpm files to target directory ${BUILD_DIR} ..." -cp ${BUILD_BASE}/*.rpm ${BUILD_DIR} -cp ${BUILD_BASE}/noarch/*.rpm ${BUILD_DIR} +ln -s ${BUILD_BASE}/.versions ${BUILD_DIR} +ln -s ${RESULT_DIR}/*.iso* ${BUILD_DIR} +echo "Linking built OPNFV .rpm files to target directory ${BUILD_DIR} ..." +ln -s ${BUILD_BASE}/*.rpm ${BUILD_DIR} +ln -s ${BUILD_BASE}/noarch/*.rpm ${BUILD_DIR} if [ $POPULATE_CACHE -eq 1 ]; then if [ ! -z ${BUILD_CACHE_URI} ]; then