Revert "Only create a tmpfs big enough for DIB_MIN_TMPFS"

This didn't pass CI and is now causing failures as it moves us back to a
4G tmpfs.

Change-Id: Ie92fd909ad21216b1fda55c21457893df38e882f
This commit is contained in:
Derek Higgins 2014-03-26 10:06:54 +00:00
parent a78e33f617
commit 85dadd0d90

View File

@ -31,7 +31,7 @@ function mk_build_dir () {
[ $? -eq 0 ] || die "Failed to create tmp directory" [ $? -eq 0 ] || die "Failed to create tmp directory"
export TMP_BUILD_DIR export TMP_BUILD_DIR
if tmpfs_check ; then if tmpfs_check ; then
sudo mount -t tmpfs tmpfs -o size=$(($DIB_MIN_TMPFS*2))G $TMP_BUILD_DIR sudo mount -t tmpfs tmpfs $TMP_BUILD_DIR
fi fi
sudo chown $(id -u):$(id -g) $TMP_BUILD_DIR sudo chown $(id -u):$(id -g) $TMP_BUILD_DIR
trap cleanup EXIT trap cleanup EXIT