[ostree/wip/ostbuild-v2] ostbuild: more bin-to-src fixups
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree/wip/ostbuild-v2] ostbuild: more bin-to-src fixups
- Date: Wed, 25 Apr 2012 01:04:59 +0000 (UTC)
commit dd5dfc60f9ad65711d1d8842d80494049a45fca8
Author: Colin Walters <walters verbum org>
Date: Tue Apr 24 20:57:10 2012 -0400
ostbuild: more bin-to-src fixups
src/ostbuild/pyostbuild/builtin_bin_to_src.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtin_bin_to_src.py b/src/ostbuild/pyostbuild/builtin_bin_to_src.py
index 4e35420..95addde 100755
--- a/src/ostbuild/pyostbuild/builtin_bin_to_src.py
+++ b/src/ostbuild/pyostbuild/builtin_bin_to_src.py
@@ -52,9 +52,13 @@ class OstbuildBinToSrc(builtins.Builtin):
(name, arch) = archname.rsplit('/', 1)
if arch != first_arch:
continue
- meta = self.get_component_meta_from_revision(rev)
+ meta = dict(self.get_component_meta_from_revision(rev))
+ del meta['name']
src_components[name] = meta
+ for target in src_snapshot['targets']:
+ del target['base']['ostree-revision']
+
return src_snapshot
def execute(self, argv):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]