From 8365f330721636c9913544c73eec356b57401e78 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 3 Sep 2012 15:30:57 +0100 Subject: 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. --- morphlib/builder2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'morphlib') 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'): -- cgit v1.2.1