summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-09-01 20:37:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-02 15:54:45 +0100
commit64a774de0e154ef81f20853fec903b17d9985a72 (patch)
tree8073a2499c0dcfa73f71c03c2a2125ebb84cd67f /scripts
parent9da0dd350a451676e3d4a1f09f90ec0234047ab7 (diff)
downloadopenembedded-core-64a774de0e154ef81f20853fec903b17d9985a72.tar.gz
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 :-) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-setup-layers10
1 files changed, 0 insertions, 10 deletions
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]: