1
0
mirror of https://git.yoctoproject.org/poky synced 2026-04-02 05:28:19 +00:00
Files
poky/bitbake/lib/layerindexlib
Mark Hatle 18b8e2e104 bitbake: layerindexlib: Fix parsing of recursive layer dependencies
[YOCTO #13447]

When running bitbake-layers layerindex-fetch from 'master', there is a
circular dependency between meta-oe and meta-python.  This triggered a maximum
recursion depth exception.

To fix the exception, as we walk down a branch (depth first search), we track
the layers we've already seen.  If we are about to recurse into a layer we've
already seen we report a warning and then stop recursion.

(Bitbake rev: d6155d095513be3f500d089c4ed4c4b89949d560)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-13 09:38:26 +01:00
..

The layerindexlib module is designed to permit programs to work directly
with layer index information.  (See layers.openembedded.org...)

The layerindexlib module includes a plugin interface that is used to extend
the basic functionality.  There are two primary plugins available: restapi
and cooker.

The restapi plugin works with a web based REST Api compatible with the
layerindex-web project, as well as the ability to store and retried a
the information for one or more files on the disk.

The cooker plugin works by reading the information from the current build
project and processing it as if it were a layer index.


TODO:

__init__.py:
Implement local on-disk caching (using the rest api store/load)
Implement layer index style query operations on a combined index

common.py:
Stop network access if BB_NO_NETWORK or allowed hosts is restricted

cooker.py:
Cooker - Implement recipe parsing