Lines Matching full:layer

32                 sys.stderr.write("Specified layer directory %s doesn't exist\n" % layerdir)
35 layer_conf = os.path.join(layerdir, 'conf', 'layer.conf')
37 …sys.stderr.write("Specified layer directory %s doesn't contain a conf/layer.conf file\n" % layerdi…
58 bb.fatal("Parse failure with the specified layer added, exiting.")
61 sys.stderr.write("Specified layer %s is already in BBLAYERS\n" % item)
89 """flatten layer configuration into a separate output directory.
91 Takes the specified layers (or all layers in the current layer
99 * where anything beyond the normal layer setup has been added to
100 layer.conf (only the lowest priority number layer's layer.conf is used)
105 Warning: if you flatten several layers where another layer is intended to
106 be used "inbetween" them (in layer priority order) such that recipes /
108 layer together with that other layer, you may no longer get the same
109 build results (as the layer priority order has effectively changed).
111 if len(args.layer) == 1:
121 if len(args.layer) > 2:
122 layernames = args.layer
133 …logger.error('Unable to find layer %s in current configuration, please run "%s show-layers" to lis…
147 for layer in layers:
152 if of.startswith(layer):
155 logger.plain('Copying files from %s...' % layer )
156 for root, dirs, files in os.walk(layer):
169 fdest = f1full[len(layer):]
173 if f1 == 'layer.conf' and root.endswith('/conf'):
174 logger.plain(' Skipping layer config file %s' % f1full )
198 layer = layer_path_match(appendname)
199 if layer:
203 fdest = appendname[len(layer):]
209 … # Get the regex for the first layer in our list (which is where the conf/layer.conf file will
219 … # Find the BBFILES entries that match (which will have come from this conf/layer.conf file)
228 # Check that all important layer files match BBFILES
240 …r.warning("File %s does not match the flattened layer's BBFILES setting, you may need to edit conf…
250 layer = bb.utils.get_file_layer(filename, self.tinfoil.config_data)
251 return self.bbfile_collections.get(layer, None)
261 parser_add_layer = self.add_command(sp, 'add-layer', self.do_add_layer, parserecipes=False)
262 … parser_add_layer.add_argument('layerdir', nargs='+', help='Layer directory/directories to add')
264 …parser_remove_layer = self.add_command(sp, 'remove-layer', self.do_remove_layer, parserecipes=Fals…
265 …parser_remove_layer.add_argument('layerdir', nargs='+', help='Layer directory/directories to remov…
269 …parser_flatten.add_argument('layer', nargs='*', help='Optional layer(s) to flatten (otherwise all …