summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-05-20 08:15:01 -0300
committerRenato Botelho <renato@netgate.com>2016-05-20 08:15:27 -0300
commita2a0e99580665c7d715cc99ade99dfe9accacbdd (patch)
tree66a96356c3328857aef7ef4b10cb10606045e7d2 /build.sh
parent1e5239d102e75d0df1f7a2e8a9988073f3fbad2f (diff)
downloadpfsense-a2a0e99580665c7d715cc99ade99dfe9accacbdd.zip
pfsense-a2a0e99580665c7d715cc99ade99dfe9accacbdd.tar.gz
Create core repo early and send it to staging area
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 79d1ce0..1441016 100755
--- a/build.sh
+++ b/build.sh
@@ -401,6 +401,12 @@ if [ -z "${_SKIP_REBUILD_PRESTAGE}" ]; then
install_pkg_install_ports
fi
+# Create core repo
+core_pkg_create_repo
+
+# Send core repo to staging area
+pkg_repo_rsync "${CORE_PKG_PATH}" ignore_final_rsync
+
export DEFAULT_KERNEL=${DEFAULT_KERNEL_ISO:-"${PRODUCT_NAME}"}
# XXX: Figure out why wait is failing and proper fix
@@ -449,8 +455,6 @@ for _IMGTOBUILD in $_IMAGESTOBUILD; do
esac
done
-core_pkg_create_repo
-
if [ -n "${_bg_pids}" ]; then
if [ -n "${SNAPSHOTS}" ]; then
snapshots_update_status ">>> NOTE: waiting for jobs: ${_bg_pids} to finish..."
OpenPOWER on IntegriCloud