mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
bitbake: Fix -e when used with -b option
When using the -e and -b options together an expection was occuring. This was due to incorrect initialisation and this patch adds in the correct initialisation calls. (Bitbake rev: e7ade6dcd646b478df79f968934a0edcb63254f7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -276,6 +276,12 @@ class BBCooker:
|
|||||||
envdata = None
|
envdata = None
|
||||||
|
|
||||||
if buildfile:
|
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)
|
fn = self.matchFile(buildfile)
|
||||||
elif len(pkgs_to_build) == 1:
|
elif len(pkgs_to_build) == 1:
|
||||||
self.updateCache()
|
self.updateCache()
|
||||||
|
|||||||
Reference in New Issue
Block a user