Home
last modified time | relevance | path

Searched full:layers (Results 1 – 25 of 980) sorted by relevance

12345678910>>...40

/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dbblayers.py24 result = runCmd('bitbake-layers layerindex-show-depends meta-poky')
26 …, msg = "openembedded-core should have been listed at this step. bitbake-layers layerindex-show-de…
29 result = runCmd('bitbake-layers show-cross-depends')
33 result = runCmd('bitbake-layers show-layers')
39 result = runCmd('bitbake-layers show-appends')
43 result = runCmd('bitbake-layers show-overlayed')
53 result = runCmd('bitbake-layers flatten %s' % testoutdir)
58 …self.assertTrue(find_in_contents, msg = "Flattening layers did not work. bitbake-layers flatten ou…
62 result = runCmd('bitbake-layers show-layers')
63 …"This test cannot run with meta-skeleton in bblayers.conf. bitbake-layers show-layers output: %s" …
[all …]
/openbmc/openbmc/poky/documentation/test-manual/
H A Dyocto-project-compatible.rst11 After the introduction of layers to OpenEmbedded, it quickly became clear
12 that while some layers were popular and worked well, others developed a
13 reputation for being "problematic". Those were layers which didn't
16 because such layers are often created by developers with a particular focus
21 As a result of noticing such patterns and friction between layers, the project
22 developed the "Yocto Project Compatible" badge program, allowing layers
25 questions where layers can declare if they meet the appropriate criteria.
30 See :ref:`dev-manual/layers:making sure your layer is compatible with yocto project`
42 Over time, the project identified characteristics in layers that allow them
43 to operate well together. "anti-patterns" were also found, preventing layers
[all …]
/openbmc/openbmc/poky/scripts/
H A Dyocto-check-layer54 parser.add_argument('layers', metavar='LAYER_DIR', nargs='+',
59 help='Layers to process for dependencies', action='store')
64 parser.add_argument('--additional-layers', nargs="+",
65 help='List of additional layers to add during testing', action='store')
69 help='check that software layers do not change signatures (on by default)')
71 help='disable signature checking for software layers')
101 layers = detect_layers(args.layers, args.no_auto)
102 if not layers:
103 logger.error("Failed to detect layers")
111 dep_layers = dep_layers + layers
[all …]
H A Doe-setup-layers8 # This file was copied from poky(or oe-core)/scripts/oe-setup-layers by running
10 # bitbake-layers create-layers-setup destdir
15 # ensure your layers match your configuration.
53 layers = []
57 layers.append(os.path.relpath(os.path.dirname(root), dest))
58 layers_f = os.path.join(dest, ".oe-layers.json")
59 print("Writing list of layers into {}".format(layers_f))
61 json.dump({"version":"1.0","layers":layers}, f, sort_keys=True, indent=4)
124layers and sets them to correct revisions using data in a json format from a separate file. The js…
134 parser.add_argument('--destdir', default=defaultdest, help='Where to check out the layers (default …
/openbmc/linux/security/landlock/
H A Druleset.c73 const struct landlock_layer (*const layers)[], const u32 num_layers, in create_rule() argument
88 new_rule = kzalloc(struct_size(new_rule, layers, new_num_layers), in create_rule()
97 memcpy(new_rule->layers, layers, in create_rule()
98 flex_array_size(new_rule, layers, num_layers)); in create_rule()
101 new_rule->layers[new_rule->num_layers - 1] = *new_layer; in create_rule()
133 * @layers: One or multiple layers to be copied into the new rule.
134 * @num_layers: The number of @layers entries.
136 * When user space requests to add a new rule to a ruleset, @layers only
141 * When merging a ruleset in a domain, or copying a domain, @layers will be
147 const struct landlock_layer (*const layers)[], in insert_rule() argument
[all …]
H A Druleset.h29 /* Makes sure all layers can be checked. */
63 * @num_layers: Number of entries in @layers.
67 * @layers: Stack of layers, from the latest to the newest, implemented
70 struct landlock_layer layers[] __counted_by(num_layers);
133 * @num_layers: Number of layers that are used in this
134 * ruleset. This enables to check that all the layers
142 * saves all layers of merged rulesets in a stack
144 * one. These layers are used when merging rulesets,
148 * layers are set once and never changed for the
/openbmc/openbmc/meta-raspberrypi/conf/
H A Dlayer.conf18 # The dynamic-layers directory hosts the extensions and layer specific
24 openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \
25 openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \
26 networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/*/*/*.bb \
27 networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/*/*/*.bbappend \
28 qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bb \
29 qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \
30 multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/*/*/*.bb \
31 multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/*/*/*.bbappend \
32 meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bb \
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/conf/
H A Dlayer.conf1 # It really depends on order of the layers appearing in BBLAYERS
22 # other layers.
26 # only activates content when identified layers are present,
29 meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \
30 meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \
31 multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/recipes-*/*/*.bb \
32 multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/recipes-*/*/*.bbappend \
33 networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \
34 networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bbappend \
35 gnome-layer:${LAYERDIR}/dynamic-layers/gnome-layer/recipes-*/*/*.bb \
[all …]
/openbmc/openbmc/poky/documentation/dev-manual/
H A Dlayers.rst3 Understanding and Creating Layers
7 :term:`Metadata` into multiple layers.
8 Layers allow you to isolate different types of customizations from each
19 It is very easy to create your own layers to use with the OpenEmbedded
21 layers. This section describes the steps you perform by hand to create
22 layers so that you can better understand them. For information about the
24 ":ref:`bsp-guide/bsp:creating a new bsp layer using the \`\`bitbake-layers\`\` script`"
26 …Guide and the ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` s…
31 #. *Check Existing Layers:* Before creating a new layer, you should be
34 for a list of layers from the OpenEmbedded community that can be used in
[all …]
/openbmc/openbmc/poky/bitbake/lib/bblayers/
H A Daction.py19 logger = logging.getLogger('bitbake-layers')
28 """Add one or more layers to bblayers.conf."""
46 # Back up bblayers.conf to tempdir before we add layers
70 """Remove one or more layers from bblayers.conf."""
91 sys.stderr.write("No layers matching %s found in BBLAYERS\n" % item)
97 Takes the specified layers (or all layers in the current layer
99 containing the contents of all layers, with any overlayed recipes removed
108 * when the flattened layers do not have the same directory structure (the
111 Warning: if you flatten several layers where another layer is intended to
113 bbappends in the layers interact, and then attempt to use the new output
[all …]
/openbmc/openbmc/poky/documentation/
H A Dtransitioning-to-a-custom-environment.rst20 You will be finding layers with recipes and other metadata that support these
31 Use the :yocto_home:`Yocto Project Compatible Layers
32 </software-overview/layers/>` or even the :oe_layerindex:`OpenEmbedded
44 layers to that. Here is the information :ref:`about adding layers
45 <dev-manual/layers:Understanding and Creating Layers>`.
47 #. **Based on the layers you've chosen, make needed changes in your
57 Use the ``bitbake-layers create-layer`` tool for Yocto Project 2.4+
59 ``yocto-layer create`` tool. The ``bitbake-layers`` tool also provides a number
61 :ref:`dev-manual/layers:creating a general layer using the
62 \`\`bitbake-layers\`\` script` section.
[all …]
/openbmc/openbmc/poky/meta/lib/bblayers/
H A Dmakesetup.py15 logger = logging.getLogger('bitbake-layers')
40 … """ This is a helper function for the writer plugins that discovers currently configured layers.
44 layers = oe.buildcfg.get_layer_revisions(self.tinfoil.config_data)
47 for (l_path, l_name, l_branch, l_rev, l_ismodified) in layers:
79 …/or a script that replicate the directory structure and revisions of the layers in a current build…
85 …parser_setup_layers = self.add_command(sp, 'create-layers-setup', self.do_make_setup, parserecipes…
87 …help='Directory where to write the output\n(if it is inside one of the layers, the layer becomes a…
89 … help='File name prefix for the output files, if the default (setup-layers) is undesirable.')
97 …-layers).\n\nCurrently supported options are:\noe-setup-layers - a self-contained python script an…
H A Dbuildconf.py13 logger = logging.getLogger('bitbake-layers')
61 layers = oe.buildcfg.get_layer_revisions(self.tinfoil.config_data)
65 for l in layers:
72 …yer {} not in one of the currently enabled layers:\n{}".format(args.layerpath, "\n".join([l[0] for…
74 …nembedded-core not in one of the currently enabled layers:\n{}".format("\n".join([l[0] for l in la…
76 relpaths_to_oecore = [(l[0], os.path.relpath(l[0], start=oecore)) for l in layers]
/openbmc/openbmc/poky/meta/lib/bblayers/setupwriters/
H A Doe-setup-layers.py12 logger = logging.getLogger('bitbake-layers')
20 return "oe-setup-layers"
56 err = "Repository {} does not exist in setup-layers config".format(repo)
66 … json config that replicate the directory structure and revisions of the layers in a current build…
67 output = args.output_prefix or "setup-layers"
71 # Modify existing layers setup
84 # Create new layers setup
105 …write_python(os.path.join(os.path.dirname(__file__),'../../../../scripts/oe-setup-layers'), output)
110layers writer, write only the layer configuruation in json format. Otherwise, also a copy of scrip…
/openbmc/openbmc/poky/meta/lib/oe/
H A Dcopy_buildsystem.py7 # buildsystem such as layers, bitbake location, etc.
9 # SDK_LAYERS_EXCLUDE: Layers which will be excluded from SDK layers.
42 # Copy in all metadata layers + bitbake (as repositories)
46 layers = list(self.layerdirs)
49 layers.append(corebase)
53 layers.append(os.path.join(corebase, 'meta-skeleton'))
55 # Exclude layers
57 if layer_exclude in layers:
58 … bb.note('Excluded %s from sdk layers since it is in SDK_LAYERS_EXCLUDE' % layer_exclude)
59 layers.remove(layer_exclude)
[all …]
/openbmc/openbmc/meta-security/conf/
H A Dlayer.conf17 perl-layer:${LAYERDIR}/dynamic-layers/meta-perl/recipes-*/*/*.bb \
18 perl-layer:${LAYERDIR}/dynamic-layers/meta-perl/recipes-*/*/*.bbappend \
19 meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \
20 meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \
21 networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \
22 networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bbappend \
/openbmc/openbmc/meta-phosphor/conf/
H A Dlayer.conf20 aspeed-layer:${LAYERDIR}/dynamic-layers/aspeed-layer/recipes-*/*/*.bb \
21 aspeed-layer:${LAYERDIR}/dynamic-layers/aspeed-layer/recipes-*/*/*.bbappend \
22 nuvoton-layer:${LAYERDIR}/dynamic-layers/nuvoton-layer/recipes-*/*/*.bb \
23 nuvoton-layer:${LAYERDIR}/dynamic-layers/nuvoton-layer/recipes-*/*/*.bbappend \
24 tpm-layer:${LAYERDIR}/dynamic-layers/tpm-layer/recipes-*/*/*.bb \
25 tpm-layer:${LAYERDIR}/dynamic-layers/tpm-layer/recipes-*/*/*.bbappend \
/openbmc/openbmc/poky/scripts/lib/checklayer/
H A D__init__.py130 layers = []
142 layers.append(layer)
150 layers.append(layer)
152 return layers
154 def _find_layer(depend, layers): argument
155 for layer in layers:
164 def sanity_check_layers(layers, logger): argument
175 for layer in layers:
185 def get_layer_dependencies(layer, layers, logger): argument
186 def recurse_dependencies(depends, layer, layers, logger, ret = []): argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templates/
H A Dproject.html39 <li>Remove its imported layers</li>
69 …<span class="help-block">Machine suggestions come from the list of layers added to your project. I…
132 <h3>Layers <span class="counter">(<span id="project-layers-count"></span>)</span>
133 …edded organises recipes and machines into thematic groups called <strong>layers</strong>. Click on…
136 <div class="alert alert-warning" id="no-layers-in-project" style="display:none">
137 <h4>This project has no layers</h4>
138 In order to build this project you need to add some layers first. For that you can:
140 …<li><a href="{% url 'projectlayers' project.id %}">Choose from the layers compatible with this pro…
142 …dev-manual/common-tasks.html#understanding-and-creating-layers" target="_blank">Read about layers
153 … href="{% url 'projectlayers' project.id %}" id="view-compatible-layers">View compatible layers</a>
[all …]
H A Dproject_specific.html39 <li>Remove its imported layers</li>
69 …<span class="help-block">Machine suggestions come from the list of layers added to your project. I…
130 <h3>Layers <span class="counter">(<span id="project-layers-count"></span>)</span>
131 …edded organises recipes and machines into thematic groups called <strong>layers</strong>. Click on…
134 <div class="alert alert-warning" id="no-layers-in-project" style="display:none">
135 <h4>This project has no layers</h4>
136 In order to build this project you need to add some layers first. For that you can:
138 …<li><a href="{% url 'projectlayers' project.id %}">Choose from the layers compatible with this pro…
140 …dev-manual/common-tasks.html#understanding-and-creating-layers" target="_blank">Read about layers
151 … href="{% url 'projectlayers' project.id %}" id="view-compatible-layers">View compatible layers</a>
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/functional/
H A Dtest_project_page_tab_config.py83 - Layers
133 # layers
134 [6, 'Layers',
135 f"/toastergui/project/{TestProjectConfigTabBase.project_id}/layers"],
252 - Layers:
254 - check at least three layers are displayed
270 layers = block_l.find_element(By.ID, 'layer-container')
307 # Layers
308 title = layers.find_element(By.TAG_NAME, 'h3')
309 self.assertIn("Layers", title.text)
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/
H A Dtypeaheads.py18 """ Typeahead for layers available and not added in the current project's
22 layers = prj.get_all_compatible_layer_versions()
23 layers = layers.order_by('layer__name')
26 # for layers already in the project unless required such as when adding
30 layers = layers.exclude(
33 primary_results = layers.filter(layer__name__istartswith=search_term)
34 secondary_results = layers.filter(
/openbmc/openbmc/poky/documentation/bsp-guide/
H A Dbsp.rst15 This guide presents information about BSP layers, defines a structure
19 Layer using the :ref:`bitbake-layers <bsp-guide/bsp:Creating a new BSP Layer Using the \`\`bitbake-
22 BSP Layers
28 layers in the Yocto Project use the following well-established naming
39 advisable to follow it when creating layers. Technically speaking, a
46 layers in the
50 you will find a list of repositories under "Yocto Metadata Layers".
54 Layers that are no longer actively supported as part of the Yocto
58 ``meta-raspberrypi`` and ``meta-intel``). Each of these layers is a
65 In addition to BSP layers, the ``meta-yocto-bsp`` layer is part of the
[all …]
/openbmc/openbmc/poky/documentation/overview-manual/
H A Dyp-intro.rst101 add these grouped functionalities to your project as needed. Using layers to
196 collaboration and customization. Layers are repositories that contain
199 collaborate, share, and reuse layers.
201 Layers can contain changes to previous instructions or settings at any
203 previously supplied collaborative or community layers to suit your
206 You use different layers to logically separate information in your
208 middleware, or application layers. Putting your entire build into one
210 information into layers, on the other hand, helps simplify future
217 - Use Board Support Package (BSP) layers from silicon vendors when
221 :yocto_home:`Yocto Project Compatible Layers </software-overview/layers/>`
[all …]
/openbmc/openbmc/poky/documentation/toaster-manual/
H A Dreference.rst20 layers. In particular, we are concerned with layers that you can use
25 of custom layers. A good example of an existing layer index is the
32 API, store the information about the layers in the Toaster database, and
34 information and build layers from Toaster itself without having to
35 clone or edit the BitBake layers configuration file ``bblayers.conf``.
38 custom layers that need to be built on a regular basis by a community of
55 Understanding Your Layers
59 layers that developers build and access using the Yocto Project on a
60 regular basis. This set of layers needs to exist and you need to be
63 layers.
[all …]

12345678910>>...40