summaryrefslogtreecommitdiff
path: root/morphlib/buildcommand.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/buildcommand.py')
-rw-r--r--morphlib/buildcommand.py2
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)