summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-04-06 20:50:43 -0300
committerRenato Botelho <renato@netgate.com>2016-04-07 14:39:41 -0300
commit01f4c55a69b8007c00fd424a921c07c9506e3edf (patch)
treea8592e92a1e2c84f33b8dc4802dedac41379d7e3 /tools
parent1dd070515b0ebf1857ce03bfe6a228360b73c273 (diff)
downloadpfsense-01f4c55a69b8007c00fd424a921c07c9506e3edf.zip
pfsense-01f4c55a69b8007c00fd424a921c07c9506e3edf.tar.gz
Do not mount memory disks for -RELEASE build
Diffstat (limited to 'tools')
-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