Change to what is extracted from the build directory

Instead of specifically extracting the deploy folder, will now be
extracting the entire build directory so that it is available in case
more than just some specific files are needed to be extracted. Added
back a link to the internal build directory so that things that used the
old /deploy path will not need to be changed.

Change-Id: Ib0f38af926c9d652246319d7beb3112b2d1491c4
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>
diff --git a/build-setup.sh b/build-setup.sh
index 5d80957..cf339d4 100755
--- a/build-setup.sh
+++ b/build-setup.sh
@@ -278,8 +278,8 @@
 # Kick off a build
 bitbake ${BITBAKE_OPTS} obmc-phosphor-image
 
-# Copy images out of internal obmcdir into workspace directory
-cp -R ${obmcdir}/build/tmp/deploy ${WORKSPACE}/deploy/
+# Copy build directory of internal obmcdir into workspace directory
+cp -a ${obmcdir}/build/. ${WORKSPACE}/build/
 
 EOF_SCRIPT
 
@@ -326,5 +326,8 @@
   echo "Launch Parameter is invalid"
 fi
 
+# To maintain function of resources that used an older path, add a link
+ln -sf ${WORKSPACE}/build/tmp/deploy ${WORKSPACE}/deploy
+
 # Timestamp for build
 echo "Build completed, $(date)"