summaryrefslogtreecommitdiff
path: root/morphlib/buildcommand.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-11-22 18:28:12 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-11-29 16:11:31 +0000
commitf5c1a50c9f35450801846a0309aa571e9893946a (patch)
tree2a5ed1e3c5145ac89893eadbb539ffaefe54899a /morphlib/buildcommand.py
parent6e30db8033160fedbf864db08e98fd18b92a0d08 (diff)
downloadmorph-f5c1a50c9f35450801846a0309aa571e9893946a.tar.gz
morphloader: Require systems have at least one stratum
It doesn't currently make sense to build a system which contains no strata. We may later add other fields, such as initramfs to contribute to the system's artifact, but until then it's another bug to trip over. This uses collections.Sequence for checking the type of the systems entry in the morphology as a style choice, though it allows more flexibility if the types in the parsed morphology change.
Diffstat (limited to 'morphlib/buildcommand.py')
0 files changed, 0 insertions, 0 deletions