diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2018-07-23 22:29:11 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-02 10:18:27 +0100 |
commit | 1ac19d1bf111a4836625f5cbb28a751d5c427395 (patch) | |
tree | ae9fa1448b425522952cbc8af90cf79912c746b1 /bitbake/lib/layerindexlib/tests/testdata/layer3/conf/layer.conf | |
parent | 0dea95093115acc08f6ad19dc931d532a601cbec (diff) | |
download | poky-1ac19d1bf111a4836625f5cbb28a751d5c427395.tar.gz |
bitbake: layerindexlib: Initial layer index processing module implementation
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>
Diffstat (limited to 'bitbake/lib/layerindexlib/tests/testdata/layer3/conf/layer.conf')
-rw-r--r-- | bitbake/lib/layerindexlib/tests/testdata/layer3/conf/layer.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bitbake/lib/layerindexlib/tests/testdata/layer3/conf/layer.conf b/bitbake/lib/layerindexlib/tests/testdata/layer3/conf/layer.conf new file mode 100644 index 0000000000..7089071faf --- /dev/null +++ b/bitbake/lib/layerindexlib/tests/testdata/layer3/conf/layer.conf | |||
@@ -0,0 +1,19 @@ | |||
1 | # We might have a conf and classes directory, append to BBPATH | ||
2 | BBPATH .= ":${LAYERDIR}" | ||
3 | |||
4 | # We have recipes directories, add to BBFILES | ||
5 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" | ||
6 | |||
7 | BBFILE_COLLECTIONS += "meta-python" | ||
8 | BBFILE_PATTERN_meta-python := "^${LAYERDIR}/" | ||
9 | BBFILE_PRIORITY_meta-python = "7" | ||
10 | |||
11 | # This should only be incremented on significant changes that will | ||
12 | # cause compatibility issues with other layers | ||
13 | LAYERVERSION_meta-python = "1" | ||
14 | |||
15 | LAYERDEPENDS_meta-python = "core openembedded-layer" | ||
16 | |||
17 | LAYERSERIES_COMPAT_meta-python = "sumo" | ||
18 | |||
19 | LICENSE_PATH += "${LAYERDIR}/licenses" | ||