diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /bitbake/lib/layerindexlib/tests/testdata | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz | |
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
b) use the new bitbake-setup
You can find information about either approach in our documentation:
https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/layerindexlib/tests/testdata')
6 files changed, 0 insertions, 104 deletions
diff --git a/bitbake/lib/layerindexlib/tests/testdata/README b/bitbake/lib/layerindexlib/tests/testdata/README deleted file mode 100644 index 36ab40bebe..0000000000 --- a/bitbake/lib/layerindexlib/tests/testdata/README +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | This test data is used to verify the 'cooker' module of the layerindex. | ||
| 2 | |||
| 3 | The module consists of a faux project bblayers.conf with four layers defined. | ||
| 4 | |||
| 5 | layer1 - openembedded-core | ||
| 6 | layer2 - networking-layer | ||
| 7 | layer3 - meta-python | ||
| 8 | layer4 - openembedded-layer (meta-oe) | ||
| 9 | |||
| 10 | Since we do not have a fully populated cooker, we use this to test the | ||
| 11 | basic index generation, and not any deep recipe based contents. | ||
diff --git a/bitbake/lib/layerindexlib/tests/testdata/build/conf/bblayers.conf b/bitbake/lib/layerindexlib/tests/testdata/build/conf/bblayers.conf deleted file mode 100644 index 40429b2f66..0000000000 --- a/bitbake/lib/layerindexlib/tests/testdata/build/conf/bblayers.conf +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | LAYERSERIES_CORENAMES = "sumo" | ||
| 2 | |||
| 3 | # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
| 4 | # changes incompatibly | ||
| 5 | LCONF_VERSION = "7" | ||
| 6 | |||
| 7 | BBPATH = "${TOPDIR}" | ||
| 8 | BBFILES ?= "" | ||
| 9 | |||
| 10 | BBLAYERS ?= " \ | ||
| 11 | ${TOPDIR}/layer1 \ | ||
| 12 | ${TOPDIR}/layer2 \ | ||
| 13 | ${TOPDIR}/layer3 \ | ||
| 14 | ${TOPDIR}/layer4 \ | ||
| 15 | " | ||
diff --git a/bitbake/lib/layerindexlib/tests/testdata/layer1/conf/layer.conf b/bitbake/lib/layerindexlib/tests/testdata/layer1/conf/layer.conf deleted file mode 100644 index 966d531959..0000000000 --- a/bitbake/lib/layerindexlib/tests/testdata/layer1/conf/layer.conf +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | # We have a conf and classes directory, add to BBPATH | ||
| 2 | BBPATH .= ":${LAYERDIR}" | ||
| 3 | # We have recipes-* directories, add to BBFILES | ||
| 4 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb" | ||
| 5 | |||
| 6 | BBFILE_COLLECTIONS += "core" | ||
| 7 | BBFILE_PATTERN_core = "^${LAYERDIR}/" | ||
| 8 | BBFILE_PRIORITY_core = "5" | ||
| 9 | |||
| 10 | LAYERSERIES_CORENAMES = "sumo" | ||
| 11 | |||
| 12 | # This should only be incremented on significant changes that will | ||
| 13 | # cause compatibility issues with other layers | ||
| 14 | LAYERVERSION_core = "11" | ||
| 15 | LAYERSERIES_COMPAT_core = "sumo" | ||
| 16 | |||
| 17 | BBLAYERS_LAYERINDEX_NAME_core = "openembedded-core" | ||
diff --git a/bitbake/lib/layerindexlib/tests/testdata/layer2/conf/layer.conf b/bitbake/lib/layerindexlib/tests/testdata/layer2/conf/layer.conf deleted file mode 100644 index 7569d1c217..0000000000 --- a/bitbake/lib/layerindexlib/tests/testdata/layer2/conf/layer.conf +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | # We have a conf and classes directory, add to BBPATH | ||
| 2 | BBPATH .= ":${LAYERDIR}" | ||
| 3 | |||
| 4 | # We have a packages directory, add to BBFILES | ||
| 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
| 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
| 7 | |||
| 8 | BBFILE_COLLECTIONS += "networking-layer" | ||
| 9 | BBFILE_PATTERN_networking-layer := "^${LAYERDIR}/" | ||
| 10 | BBFILE_PRIORITY_networking-layer = "5" | ||
| 11 | |||
| 12 | # This should only be incremented on significant changes that will | ||
| 13 | # cause compatibility issues with other layers | ||
| 14 | LAYERVERSION_networking-layer = "1" | ||
| 15 | |||
| 16 | LAYERDEPENDS_networking-layer = "core" | ||
| 17 | LAYERDEPENDS_networking-layer += "openembedded-layer" | ||
| 18 | LAYERDEPENDS_networking-layer += "meta-python" | ||
| 19 | |||
| 20 | LAYERSERIES_COMPAT_networking-layer = "sumo" | ||
diff --git a/bitbake/lib/layerindexlib/tests/testdata/layer3/conf/layer.conf b/bitbake/lib/layerindexlib/tests/testdata/layer3/conf/layer.conf deleted file mode 100644 index 7089071faf..0000000000 --- a/bitbake/lib/layerindexlib/tests/testdata/layer3/conf/layer.conf +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 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" | ||
diff --git a/bitbake/lib/layerindexlib/tests/testdata/layer4/conf/layer.conf b/bitbake/lib/layerindexlib/tests/testdata/layer4/conf/layer.conf deleted file mode 100644 index 6649ee0208..0000000000 --- a/bitbake/lib/layerindexlib/tests/testdata/layer4/conf/layer.conf +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | # We have a conf and classes directory, append to BBPATH | ||
| 2 | BBPATH .= ":${LAYERDIR}" | ||
| 3 | |||
| 4 | # We have a recipes directory, add to BBFILES | ||
| 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
| 6 | |||
| 7 | BBFILE_COLLECTIONS += "openembedded-layer" | ||
| 8 | BBFILE_PATTERN_openembedded-layer := "^${LAYERDIR}/" | ||
| 9 | |||
| 10 | # Define the priority for recipes (.bb files) from this layer, | ||
| 11 | # choosing carefully how this layer interacts with all of the | ||
| 12 | # other layers. | ||
| 13 | |||
| 14 | BBFILE_PRIORITY_openembedded-layer = "6" | ||
| 15 | |||
| 16 | # This should only be incremented on significant changes that will | ||
| 17 | # cause compatibility issues with other layers | ||
| 18 | LAYERVERSION_openembedded-layer = "1" | ||
| 19 | |||
| 20 | LAYERDEPENDS_openembedded-layer = "core" | ||
| 21 | |||
| 22 | LAYERSERIES_COMPAT_openembedded-layer = "sumo" | ||
