[gnome-ostree] Update for ostree init changes



commit 7fd4b257dfa4738373f7ad282f7f1c31d1007a54
Author: Giovanni Campagna <gcampagn redhat com>
Date:   Tue Aug 27 17:30:27 2013 +0200

    Update for ostree init changes
    
    The archive mode is gone, need to use archive-z2
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706902

 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 4a18b4f..77e3cdc 100644
--- a/src/js/tasks/task-build.js
+++ b/src/js/tasks/task-build.js
@@ -1227,7 +1227,7 @@ const TaskBuild = new Lang.Class({
 
         GSystem.file_ensure_directory(this.repo, true, cancellable);
         if (!this.repo.get_child('objects').query_exists(cancellable)) {
-            ProcUtil.runSync(['ostree', '--repo=' + this.repo.get_path(), 'init', '--archive'],
+            ProcUtil.runSync(['ostree', '--repo=' + this.repo.get_path(), 'init', '--mode=archive-z2'],
                             cancellable);
        }
 


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