[gnome-continuous] build: allow forcing building the yocto base



commit e52a8296652d462ab95adfdb18b5d34655e98d54
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Thu Jun 5 10:07:32 2014 -0400

    build: allow forcing building the yocto base
    
    There is no way currently to trigger rebuilding the base if you have
    it in overrides/ - there was commented code out that caused the base
    to be rebuilt if:
    
     A) forceComponents=["yocto"] was passed on the command line
     B) Always if it's in overrides/
    
    B) is not tenable considering how slow a build of the base is, but
    A) seems useful and harmless, so uncomment it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732393

 src/js/tasks/task-build.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/tasks/task-build.js b/src/js/tasks/task-build.js
index 098b3b4..e0449ef 100644
--- a/src/js/tasks/task-build.js
+++ b/src/js/tasks/task-build.js
@@ -1118,7 +1118,7 @@ const TaskBuild = new Lang.Class({
         let builddir = this.workdir.get_child(builddirName);
        let buildname = 'bases/' + basename + '-' + architecture;
 
-        let forceRebuild = false; // (this.forceBuildComponents[basename] ||
+        let forceRebuild = this.forceBuildComponents[basename];
                                   // basemeta['src'].indexOf('local:') == 0);
 
         let previousBuild = this._componentBuildCache[buildname];


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