aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2014-03-14 19:55:44 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2014-03-14 19:55:44 +0530
commit03d9345bb8057e2c708952e396b077216e616859 (patch)
treef3821a25b244c0afb6b19cf880938fed45615764
parentcb4159f21b244e325fee2c1efeaefddf72a0f87d (diff)
downloadl-a-b-VPS-03d9345bb8057e2c708952e396b077216e616859.tar.gz
Revert "Revert "Avoid cleaning directory between jobs""
This reverts commit fff8bc66add66f74f54127b129a9decac94d8528.
-rwxr-xr-xnode/build10
1 files changed, 0 insertions, 10 deletions
diff --git a/node/build b/node/build
index 59f5c46..c628de1 100755
--- a/node/build
+++ b/node/build
@@ -61,16 +61,6 @@ if [ -n "$BUILD_CONFIG_REPO" ]; then
source /var/run/build-tools/build-config
fi
-
-# Stopgap measure to cleanup environment on instances reused for different jobs
-mount | grep -E "^tmpfs on .+workspace/" | awk ' {print $3}' | xargs --no-run-if-empty -n1 umount
-
-umount build/out/target || true
-umount build/out || true
-umount build || true
-rm -rf build
-mkdir build
-
ramdisk_size=$(get_ramdisk_size $2)
if [ -z "$ramdisk_size" ]; then