diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-12-20 13:16:38 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-28 10:57:47 +0000 |
commit | 30ab6f415361a5e9eb8b3096a0435e8892287991 (patch) | |
tree | c807d17204dffee06c4d93b6a7051fafb050ddb5 /documentation/ref-manual | |
parent | 9fba2b4a8219fc45da5343c56ee8db4ab307f93c (diff) | |
download | poky-30ab6f415361a5e9eb8b3096a0435e8892287991.tar.gz |
ref-manual/classes: document the yocto-check-layer class
This class is used by the yocto-check-layer script to check if a layer
complies to the Yocto Project Compatible status.
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: b3fd3c268ac3f15e4050a983289fc63e62f4c823)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/classes.rst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index af9aac9281..aee0d55c30 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
@@ -3602,3 +3602,23 @@ the Waf build system. You can use the | |||
3602 | :term:`PACKAGECONFIG_CONFARGS` variables | 3602 | :term:`PACKAGECONFIG_CONFARGS` variables |
3603 | to specify additional configuration options to be passed on the Waf | 3603 | to specify additional configuration options to be passed on the Waf |
3604 | command line. | 3604 | command line. |
3605 | |||
3606 | .. _ref-classes-yocto-check-layer: | ||
3607 | |||
3608 | ``yocto-check-layer`` | ||
3609 | ===================== | ||
3610 | |||
3611 | The :ref:`ref-classes-yocto-check-layer` class is used by the | ||
3612 | :oe_git:`yocto-check-layer </openembedded-core/tree/scripts/yocto-check-layer>` | ||
3613 | script to ensure that packages from Yocto Project Compatible layers don't skip | ||
3614 | required QA checks listed in :term:`CHECKLAYER_REQUIRED_TESTS` defined by the | ||
3615 | :ref:`ref-classes-insane` class. | ||
3616 | |||
3617 | It adds an anonymous python function with extra processing to all recipes, | ||
3618 | and globally inheriting this class with :term:`INHERIT` is not advised. Instead | ||
3619 | the ``yocto-check-layer`` script should be used as it handles usage of this | ||
3620 | class. | ||
3621 | |||
3622 | For more information on the Yocto Project | ||
3623 | Compatible layers, see the :ref:`dev-manual/layers:Making Sure Your Layer is | ||
3624 | Compatible With Yocto Project` section of the Yocto Project Development Manual. | ||