[gnome-continuous] libqa: add temporary workaround for libguestfs bug



commit 7032ef0142afdfc3cc9fb24cbda33bee273298fe
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Wed Aug 12 19:53:58 2015 +0200

    libqa: add temporary workaround for libguestfs bug

 src/js/libqa.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/js/libqa.js b/src/js/libqa.js
index b3ff0a8..c3a0473 100644
--- a/src/js/libqa.js
+++ b/src/js/libqa.js
@@ -365,7 +365,10 @@ function pullDeploy(mntdir, srcrepo, osname, target, revision, originRepoUrl, ca
         ProcUtil.runSync(['ostree', repoArg,
                           'remote', 'add', '--if-not-exists', osname, originRepoUrl, target],
                          cancellable, { logInitiation: true });
-    
+
+    ProcUtil.runSync(['chmod', '0777', repoPath.get_path() + '/objects'], cancellable,
+                     {logInitiation: true, env: adminEnv});
+
     ProcUtil.runSync(['ostree', repoArg,
                       'pull-local', '--disable-fsync', '--remote=' + osname, srcrepo.get_path(), 
revOrTarget], cancellable,
                      {logInitiation: true, env: adminEnv});


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