[gnome-ostree] manifest: Add "default-target"



commit 7ffecd98c5edb037ca9a070a44af12c0c4c0683b
Author: Colin Walters <walters verbum org>
Date:   Thu Jan 17 18:41:32 2013 -0500

    manifest: Add "default-target"
    
    This will be used by the QA scripts, and it's one of the last bits we
    need to output an osname.cfg file as understood by "ostree admin
    install".

 manifest.json                     |    1 +
 src/ostbuild/js/builtins/build.js |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/manifest.json b/manifest.json
index 03cf186..cc1f97f 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,6 +2,7 @@
   "00ostbuild-manifest-version": 0,
 
   "osname": "gnome-ostree",
+  "default-target": "trees/gnomeos-3.8-x86_64-runtime",
   "prefix": "gnomeos-3.8",
   "architectures": ["i686", "x86_64"],
   "base": {
diff --git a/src/ostbuild/js/builtins/build.js b/src/ostbuild/js/builtins/build.js
index c67f791..70cc2f6 100644
--- a/src/ostbuild/js/builtins/build.js
+++ b/src/ostbuild/js/builtins/build.js
@@ -788,6 +788,7 @@ const Build = new Lang.Class({
 	let buildDataPath = this.workdir.get_child(this.prefix + '-buildresult.json');
 	let targetRevisions = {};
 	let buildData = { snapshotName: snapshotName,
+			  snapshot: this._snapshot.data,
 			  targets: targetRevisions };
         for (let i = 0; i < targetsList.length; i++) {
 	    let target = targetsList[i];



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