diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-09-03 15:30:57 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-09-03 15:30:57 +0100 |
commit | 8365f330721636c9913544c73eec356b57401e78 (patch) | |
tree | 56f498c56a5c3346fd441b229e5738761bb16a70 /morphlib/builder2.py | |
parent | 15e12781bf84663c31aeba846107d80df81e770a (diff) | |
download | morph-8365f330721636c9913544c73eec356b57401e78.tar.gz |
Warning instead of error for empty strata, temporarily
This kind of reverts commit: c4facff97b27968f00a75ffb3d49cea2080ad9a4
Currently our bootstrap depends on building an empty stratum; this
should be changed so that it builds a tarball system image, but this
is currently broken too. This commit should be reverted when bootstrap
is fixed to not depend on building an empty stratum.
Diffstat (limited to 'morphlib/builder2.py')
-rw-r--r-- | morphlib/builder2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py index 537a56d0..9d729384 100644 --- a/morphlib/builder2.py +++ b/morphlib/builder2.py @@ -442,7 +442,7 @@ class StratumBuilder(BuilderBase): for dependency in self.artifact.dependencies if dependency.source.morphology['kind'] == 'chunk'] if len(constituents) == 0: - logging.error('Stratum %s is empty' % self.artifact.name) + logging.warning('Stratum %s is empty' % self.artifact.name) # the only reason the StratumBuilder has to download chunks is to # check for overlap now that strata are lists of chunks with self.build_watch('check-chunks'): |