diff options
-rw-r--r-- | lib/bb/cache.py | 1 | ||||
-rw-r--r-- | lib/bb/cooker.py | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/bb/cache.py b/lib/bb/cache.py index d4a16ad76..6c92a9363 100644 --- a/lib/bb/cache.py +++ b/lib/bb/cache.py @@ -701,7 +701,6 @@ class CacheData(object): self.ignored_dependencies = [] self.world_target = set() self.bbfile_priority = {} - self.bbfile_config_priorities = [] def add_from_recipeinfo(self, fn, info_array): for info in info_array: diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index c23e3d4f1..da221664a 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -695,6 +695,7 @@ class BBCooker: def handleCollections( self, collections ): """Handle collections""" + self.status.bbfile_config_priorities = [] if collections: collection_list = collections.split() for c in collection_list: @@ -765,6 +766,8 @@ class BBCooker: # Parse the configuration here. We need to do it explicitly here since # buildFile() 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) ) # If we are told to do the None task then query the default task if (task == None): |