[ostree] ostbuild: Add --recompose argument
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] ostbuild: Add --recompose argument
- Date: Sat, 18 Feb 2012 16:56:33 +0000 (UTC)
commit f1e38d6e4b38ed8f521d34e099a8feb9bf28c19f
Author: Colin Walters <walters verbum org>
Date: Thu Feb 16 18:30:42 2012 -0500
ostbuild: Add --recompose argument
This is necessary to run after rebuilding the Yocto base.
src/ostbuild/pyostbuild/builtin_build.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtin_build.py b/src/ostbuild/pyostbuild/builtin_build.py
index b287ad2..21c7f4e 100755
--- a/src/ostbuild/pyostbuild/builtin_build.py
+++ b/src/ostbuild/pyostbuild/builtin_build.py
@@ -269,6 +269,7 @@ class OstbuildBuild(builtins.Builtin):
def execute(self, argv):
parser = argparse.ArgumentParser(description=self.short_description)
parser.add_argument('--skip-built', action='store_true')
+ parser.add_argument('--recompose', action='store_true')
parser.add_argument('--start-at')
parser.add_argument('--shell-on-failure', action='store_true')
parser.add_argument('--debug-shell', action='store_true')
@@ -289,7 +290,9 @@ class OstbuildBuild(builtins.Builtin):
self.patchdir = os.path.join(self.workdir, 'patches')
components = self.manifest['components']
- if len(args.components) == 0:
+ if args.recompose:
+ build_components = []
+ elif len(args.components) == 0:
build_components = components
else:
build_components = []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]