mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
The layer index module is expected to be used by various parts of the system
in order to access a layerindex-web (such as layers.openembedded.org) and
perform basic processing on the information, such as dependency scanning.
Along with the layerindex implementation are associated tests. The tests
properly honor BB_SKIP_NETTESTS='yes' to prevent test failures.
Tests Implemented:
- Branch, LayerItem, LayerBranch, LayerDependency, Recipe, Machine and
Distro objects
- LayerIndex setup using the layers.openembedded.org restapi
- LayerIndex storing and retrieving from a file
- LayerIndex verify dependency resolution ordering
- LayerIndex setup using simulated cooker data
(Bitbake rev: fd0ee6c10dbb5592731e56f4c592fe687682a3e6)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
730 B
Plaintext
23 lines
730 B
Plaintext
# We have a conf and classes directory, append to BBPATH
|
|
BBPATH .= ":${LAYERDIR}"
|
|
|
|
# We have a recipes directory, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "openembedded-layer"
|
|
BBFILE_PATTERN_openembedded-layer := "^${LAYERDIR}/"
|
|
|
|
# Define the priority for recipes (.bb files) from this layer,
|
|
# choosing carefully how this layer interacts with all of the
|
|
# other layers.
|
|
|
|
BBFILE_PRIORITY_openembedded-layer = "6"
|
|
|
|
# This should only be incremented on significant changes that will
|
|
# cause compatibility issues with other layers
|
|
LAYERVERSION_openembedded-layer = "1"
|
|
|
|
LAYERDEPENDS_openembedded-layer = "core"
|
|
|
|
LAYERSERIES_COMPAT_openembedded-layer = "sumo"
|