diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-01-20 12:13:28 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-01-20 14:48:26 +0000 |
commit | 9bb369aae27cc31976dbae1f288437e38c022368 (patch) | |
tree | 0a323161a537f6aff1ec634f125b420fb27fcfdf | |
parent | 1cafde326cd1858980a5a13aa685b624792a8514 (diff) | |
download | morph-9bb369aae27cc31976dbae1f288437e38c022368.tar.gz |
Rename cross-bootstrap with cross-bootstrap-morphology
-rw-r--r-- | morphlib/plugins/cross-bootstrap_plugin.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/morphlib/plugins/cross-bootstrap_plugin.py b/morphlib/plugins/cross-bootstrap_plugin.py index 2b5c8911..c6e60759 100644 --- a/morphlib/plugins/cross-bootstrap_plugin.py +++ b/morphlib/plugins/cross-bootstrap_plugin.py @@ -1,4 +1,4 @@ -# Copyright (C) 2013-2014 Codethink Limited +# Copyright (C) 2013-2015 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -202,15 +202,15 @@ class BootstrapSystemBuilder(morphlib.builder.BuilderBase): class CrossBootstrapPlugin(cliapp.Plugin): def enable(self): - self.app.add_subcommand('cross-bootstrap', - self.cross_bootstrap, + self.app.add_subcommand('cross-bootstrap-morphology', + self.cross_bootstrap_morphology, arg_synopsis='TARGET REPO REF SYSTEM-MORPH') def disable(self): pass - def cross_bootstrap(self, args): - '''Cross-bootstrap a system from a different architecture.''' + def cross_bootstrap_morphology(self, args): + '''Cross-bootstrap a system outside of a system branch.''' # A brief overview of this process: the goal is to native build as much # of the system as possible because that's easier, but in order to do @@ -233,8 +233,9 @@ class CrossBootstrapPlugin(cliapp.Plugin): if len(args) < 4: raise cliapp.AppException( - 'cross-bootstrap requires 4 arguments: target archicture, and ' - 'repo, ref and and name of the system morphology') + 'cross-bootstrap-morphology requires 4 arguments: target' + 'archicture, and repo, ref and and name of the system' + 'morphology') arch = args[0] root_repo, ref, system_name = args[1:4] |