[ostree/wip/ostbuild-v3: 2/5] ostbuild: Minor fixes
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree/wip/ostbuild-v3: 2/5] ostbuild: Minor fixes
- Date: Sat, 12 May 2012 00:08:08 +0000 (UTC)
commit d945618526065964e565c1ef8c86df0f65acd078
Author: Colin Walters <walters verbum org>
Date: Fri May 11 16:24:23 2012 -0400
ostbuild: Minor fixes
.../pyostbuild/builtin_build_components.py | 2 +-
.../pyostbuild/builtin_chroot_compile_one.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtin_build_components.py b/src/ostbuild/pyostbuild/builtin_build_components.py
index 126fe3e..54d3cc3 100755
--- a/src/ostbuild/pyostbuild/builtin_build_components.py
+++ b/src/ostbuild/pyostbuild/builtin_build_components.py
@@ -286,7 +286,7 @@ class OstbuildBuildComponents(builtins.Builtin):
self._save_bin_snapshot(required_components, component_architectures)
- if args.compose:
+ if args.compose or args.compose_only:
run_sync(['ostbuild', 'compose', '--prefix=' + self.prefix])
builtins.register(OstbuildBuildComponents)
diff --git a/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py b/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py
index 4615f05..463fc93 100755
--- a/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py
+++ b/src/ostbuild/pyostbuild/builtin_chroot_compile_one.py
@@ -66,7 +66,7 @@ class OstbuildChrootCompileOne(builtins.Builtin):
arch_buildroot_rev = arch_buildroot.get('ostree-revision')
else:
buildroots = self.snapshot['architecture-buildroots']
- arch_rev_suffix = buildsroots['architecture']
+ arch_rev_suffix = buildroots[architecture]
arch_buildroot_name = 'bases/' + arch_rev_suffix
if arch_buildroot_rev is None:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]