summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-05 14:25:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-05 14:39:44 +0100
commit7fc9c3488f7865111ec052d1cab213d216d2b414 (patch)
tree5f73c17a3dcab5107d096e1d63d83ffb3ec23d87 /bitbake/bin
parentc4b4e474b62025604f9ef9f21e13d29e8e38db97 (diff)
downloadast2050-yocto-poky-7fc9c3488f7865111ec052d1cab213d216d2b414.zip
ast2050-yocto-poky-7fc9c3488f7865111ec052d1cab213d216d2b414.tar.gz
bitbake-layers: fix error on startup caused by recent cooker change
Fix bitbake-layers "TypeError: 'NoneType' object is not iterable" error on startup. Commit f3be8e9a7df13cc11ffc8fc667efaf2db96a7c38 changed to expect prefile and postfile to be populated and no longer expects file. (Bitbake rev: 0f45fcab5c724aabb5b2933dfcdf88ebe256cba9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake-layers3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index bdfa4b6..1c48c8c 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -211,7 +211,8 @@ class Config(object):
self.pkgs_to_build = []
self.debug_domains = []
self.extra_assume_provided = []
- self.file = []
+ self.prefile = []
+ self.postfile = []
self.debug = 0
self.__dict__.update(options)
OpenPOWER on IntegriCloud