From 2bdc042d9c782ce87c4bc70c4b04eacfaec549d4 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Thu, 1 Sep 2022 20:37:49 +0200 Subject: meta/files/layers.schema.json: drop the layers property This is a leftover from one of the RFC iterations, where the property contained available machines, distros and templates. As all of those were dropped from the final version, there is no reason to list the layers either anymore. Normally this would be a backwards incompatible change, but as the layer setup itself was just merged, I think we can do a quick fixup :-) (From OE-Core rev: 64a774de0e154ef81f20853fec903b17d9985a72) Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- scripts/oe-setup-layers | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'scripts/oe-setup-layers') diff --git a/scripts/oe-setup-layers b/scripts/oe-setup-layers index cbd2efb5c7..6ecaffed75 100755 --- a/scripts/oe-setup-layers +++ b/scripts/oe-setup-layers @@ -18,20 +18,10 @@ import subprocess def _do_checkout(args, json): layers = json['sources'] - buildconfs = [] - oecorepath = "" for l_name in layers: l_data = layers[l_name] layerdir = os.path.abspath(os.path.join(args['destdir'], l_data['path'])) - for ll_name in l_data['layers']: - if ll_name == 'meta': - oecorepath = layerdir - ll_data = l_data['layers'][ll_name] - if 'buildconfigs' in ll_data: - for c in ll_data['buildconfigs']: - buildconfs.append(os.path.join(layerdir, ll_data['subpath'], c)) - if 'contains_this_file' in l_data.keys(): force_arg = 'force_bootstraplayer_checkout' if not args[force_arg]: -- cgit v1.2.3-54-g00ecf