diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-11-13 16:28:12 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-11-15 06:05:33 -0800 |
commit | 7651767849fe5e9cc927cc7822d8bda4d1a18920 (patch) | |
tree | f21a46ee7d24362866512479e7f194ed1350d427 /documentation/dev-manual/python-development-shell.rst | |
parent | 8b2a0a0eedd79ba54fed63efe05da95746ee6757 (diff) | |
download | poky-7651767849fe5e9cc927cc7822d8bda4d1a18920.tar.gz |
dev-manual: document how to provide confs from layer.conf
Add a section on providing global level configuration from the
layer.conf file. Since this file is parsed at an earlier stage in the
parsing process, it's not possible to combine bb.utils.contains and
{DISTRO,MACHINE}_FEATURES to conditionally set some configurations.
This patch documents:
- First that this file can be used for providing such configuration.
- Then demonstrate how to conditionally provide them, using a technique
that is currently used in meta-virtualization
(https://git.yoctoproject.org/meta-virtualization/tree/conf/layer.conf#n50).
Fixes [YOCTO #12688].
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: e49111c280927c922ab40547c02c11772787b731)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 31e5bd3e82e11f77da2abd96eb8c17a7c8194b7c)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/dev-manual/python-development-shell.rst')
0 files changed, 0 insertions, 0 deletions