[gnome-ostree] build: Check out yocto in workdir, not toplevel 'checkouts'



commit 7d313371d0e2604f3cdf5bf4f780205c0ed1b2aa
Author: Colin Walters <walters verbum org>
Date:   Thu Feb 21 09:05:40 2013 -0500

    build: Check out yocto in workdir, not toplevel 'checkouts'
    
    The base build was the only thing left using $workdir/checkouts; stop
    doing that.

 src/ostbuild/js/tasks/task-build.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/js/tasks/task-build.js b/src/ostbuild/js/tasks/task-build.js
index 4301b3a..d36da3e 100644
--- a/src/ostbuild/js/tasks/task-build.js
+++ b/src/ostbuild/js/tasks/task-build.js
@@ -663,7 +663,8 @@ const TaskBuild = new Lang.Class({
     _buildBase: function(architecture, cancellable) {
         let basemeta = this._snapshot.getExpanded(this._snapshot.data['base']['name']);
        let basename = basemeta['name'];
-        let checkoutdir = this.workdir.get_child('checkouts').get_child(basemeta['name']);
+       let buildWorkdir = this.subworkdir.get_child('build-' + basemeta['name'] + '-' + architecture);
+        let checkoutdir = buildWorkdir.get_child(basemeta['name']);
        GSystem.file_ensure_directory(checkoutdir.get_parent(), true, cancellable);
 
        let ftype = checkoutdir.query_file_type(Gio.FileQueryInfoFlags.NOFOLLOW_SYMLINKS, cancellable);


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