diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-02-22 10:38:29 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-02-22 10:54:29 +0000 |
commit | f3aa715cf5e9ba09c44f2c1aa2c99ecd51d2a168 (patch) | |
tree | d12ecd0501934128a882dd1e0213f5fe5fb29cb9 /morphlib | |
parent | cd50ad396208af9bb5fe65945c0771673645ecca (diff) | |
download | morph-f3aa715cf5e9ba09c44f2c1aa2c99ecd51d2a168.tar.gz |
Allow building strata with 'morph build-morphology' again
This is mainly to fix bootstrap.
Diffstat (limited to 'morphlib')
-rw-r--r-- | morphlib/buildcommand.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py index e27581d2..f857171e 100644 --- a/morphlib/buildcommand.py +++ b/morphlib/buildcommand.py @@ -82,7 +82,7 @@ class BuildCommand(object): self.lrc, self.rrc, (repo_name, ref, filename)) root_kind = srcpool.lookup(repo_name, ref, filename).morphology['kind'] - if root_kind != 'system': + if root_kind not in ['system', 'stratum']: raise morphlib.Error( 'Building a %s directly is not supported' % root_kind) |