summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-04-06 20:50:43 -0300
committerRenato Botelho <renato@netgate.com>2016-04-06 20:50:43 -0300
commit53f190f739ef3d3ca36692974d959ee8bf408281 (patch)
tree4fe53385c6ea9bb1b165a28102a67f0f57031046
parent00e4fa5838d94930942a5d6cf933ca22586467de (diff)
downloadpfsense-53f190f739ef3d3ca36692974d959ee8bf408281.zip
pfsense-53f190f739ef3d3ca36692974d959ee8bf408281.tar.gz
Do not mount memory disks for -RELEASE build
-rw-r--r--tools/builder_common.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 65635b7..a440f1a 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -200,6 +200,11 @@ print_error_pfS() {
}
prestage_on_ram_setup() {
+ # Do not use memory disks for release build
+ if [ -n "${_IS_RELEASE}" ]; then
+ return
+ fi
+
[ -d "${STAGE_CHROOT_DIR}" ] \
|| mkdir -p ${STAGE_CHROOT_DIR}
[ -d "${FINAL_CHROOT_DIR}" ] \
OpenPOWER on IntegriCloud