@@ -37,9 +37,10 @@ class ConfigFragmentsPlugin(LayerPlugin):
def discover_fragments(self):
fragments_path_prefix = self.tinfoil.config_data.getVar('OE_FRAGMENTS_PREFIX')
+ layerdata = self.tinfoil.config_data.getVar("layerdata", expand=False)
allfragments = {}
- for layername in self.bbfile_collections:
- layerdir = self.bbfile_collections[layername]
+ for layername in layerdata:
+ layerdir = layerdata[layername].path
fragments = []
for topdir, dirs, files in os.walk(os.path.join(layerdir, fragments_path_prefix)):
fragmentdir = os.path.relpath(topdir, os.path.join(layerdir, fragments_path_prefix))
Update the config fragment code to use the new layerdata structure after the bitbake layer changes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/lib/bbconfigbuild/configfragments.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)