[gnome-continuous] build: Also delete compose dir for main -devel



commit 6fb049a670aa2fc89a4247f3b1e05310c18a44c3
Author: Colin Walters <walters verbum org>
Date:   Fri Nov 15 10:46:20 2013 -0500

    build: Also delete compose dir for main -devel
    
    We were leaving around populated 'buildmaster' in the roots, this adds
    up to a substantial amount of data.

 src/js/tasks/task-build.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/js/tasks/task-build.js b/src/js/tasks/task-build.js
index 36fbb5d..4c707b8 100644
--- a/src/js/tasks/task-build.js
+++ b/src/js/tasks/task-build.js
@@ -1335,6 +1335,7 @@ const TaskBuild = new Lang.Class({
            archInitramfsImages[architecture] = kernelInitramfsData;
            this._installKernelAndInitramfs(kernelInitramfsData, composeRootdir, cancellable);
            let [treename, ostreeRev] = this._commitComposedTree(develTargetName, composeRootdir, 
cancellable);
+           GSystem.shutil_rm_rf(composeRootdir, cancellable);
            targetRevisions[treename] = ostreeRev;
            // Also note the revision of this, since it will be used
            // as the buildroot for installed tests


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]