aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r--lib/bb/cooker.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index a8edfe782..47a6edd4e 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -270,6 +270,12 @@ class BBCooker:
envdata = None
if buildfile:
+ # Parse the configuration here. We need to do it explicitly here since
+ # this showEnvironment() code path doesn't use the cache
+ self.parseConfiguration()
+ self.status = bb.cache.CacheData(self.caches_array)
+ self.handleCollections( bb.data.getVar("BBFILE_COLLECTIONS", self.configuration.data, 1) )
+
fn = self.matchFile(buildfile)
elif len(pkgs_to_build) == 1:
self.updateCache()