[gnome-ostree] deploy-qemu: Update for ostadmin -> ostree admin rename
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] deploy-qemu: Update for ostadmin -> ostree admin rename
- Date: Sun, 9 Sep 2012 18:02:06 +0000 (UTC)
commit 198d32547cb121dbcbcfb609e9daf96f46cb81fe
Author: Colin Walters <walters verbum org>
Date: Sun Sep 9 14:01:21 2012 -0400
deploy-qemu: Update for ostadmin -> ostree admin rename
.../pyostbuild/builtin_privhelper_deploy_qemu.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtin_privhelper_deploy_qemu.py b/src/ostbuild/pyostbuild/builtin_privhelper_deploy_qemu.py
index 4cc8922..e9bce8a 100755
--- a/src/ostbuild/pyostbuild/builtin_privhelper_deploy_qemu.py
+++ b/src/ostbuild/pyostbuild/builtin_privhelper_deploy_qemu.py
@@ -57,7 +57,7 @@ class OstbuildPrivhelperDeployQemu(builtins.Builtin):
ostree_dir = os.path.join(self.mountpoint, 'ostree')
if not os.path.isdir(os.path.join(ostree_dir, 'repo')):
- run_sync(['ostadmin', 'init', '--ostree-dir=' + ostree_dir])
+ run_sync(['ostree', 'admin', '--ostree-dir=' + ostree_dir, 'init'])
success = True
finally:
@@ -97,7 +97,7 @@ class OstbuildPrivhelperDeployQemu(builtins.Builtin):
child_args = ['ostree', '--repo=' + repo_path, 'pull-local', args.srcrepo, args.target]
run_sync(child_args)
- run_sync(['ostadmin', 'deploy', '--ostree-dir=' + ostree_dir, '--no-kernel', args.target],
+ run_sync(['ostree', 'admin', '--ostree-dir=' + ostree_dir, 'deploy', '--no-kernel', args.target],
cwd=ostree_dir)
finally:
subprocess.call(['umount', self.mountpoint])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]