From df90345d33730003300159e0c3e55c0efc61c7c2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 9 Feb 2021 15:03:02 +0000 Subject: [PATCH] bitbake: cooker: Ensure reparsing is handled correctly From tinfoil, if you edit bblayers.conf and break it, then call parseConfiguration (e.g. by adding a bad layer with bitbake-layers), the system doens't show any parse error yet it should. Add in a call to the updateCache function so that things really are reparsed when requested. Partially fixes [YOCTO #14054] (Bitbake rev: e655f9361b9c3b77906b8e06b5cc76bc5180640e) Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 4446addc77..67bf925441 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -411,6 +411,8 @@ class BBCooker: self.data.disableTracking() def parseConfiguration(self): + self.updateCacheSync() + # Change nice level if we're asked to nice = self.data.getVar("BB_NICE_LEVEL") if nice: