Commit 56add2db authored by Tim Rozet's avatar Tim Rozet Committed by Gerrit Code Review

Merge "changing copying to linking to save time and space on the build"

parents 3fd75d2d b8574380
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment