diff options
author | Paul Eggleton <paul.eggleton@microsoft.com> | 2022-10-09 16:44:31 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-19 17:32:57 +0100 |
commit | b1d17778658275a7757419f53bd47ed3906d50b2 (patch) | |
tree | e8098b8c308feb668dc83138ada8c40e6b1de046 /documentation/dev-manual | |
parent | c29eb10e31809a523109d638b80175d68dfc9930 (diff) | |
download | poky-b1d17778658275a7757419f53bd47ed3906d50b2.tar.gz |
Update documentation for classes split
* Make reference to meta/classes* instead of just meta/classes
* Update each reference to the path where the class has moved
* Add a brief explanation to the classes reference explaining the split
* Add a note to INHERIT, INHERIT_DISTRO, IMAGE_CLASSES and USER_CLASSES
variable glossary entries mentioning where the specified classes must
be located. I contemplated adding the same note to PACKAGE_CLASSES
but decided against it, as it has a very specific usage and such a
note might distract from the narrative of that entry.
* Also trim the IMAGE_CLASSES entry which was quite outdated.
* INHERIT += no longer works with testimage so drop the note about that
(From yocto-docs rev: e76bed00b452d3049f6c22afbfb980b557a141bd)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/common-tasks.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index 68ce2b852a..0d4e814f66 100644 --- a/documentation/dev-manual/common-tasks.rst +++ b/documentation/dev-manual/common-tasks.rst | |||
@@ -973,7 +973,7 @@ a recipe and using :term:`EXTRA_IMAGE_FEATURES` from within your | |||
973 | :term:`Build Directory`. | 973 | :term:`Build Directory`. |
974 | 974 | ||
975 | To understand how these features work, the best reference is | 975 | To understand how these features work, the best reference is |
976 | :ref:`meta/classes/image.bbclass <ref-classes-image>`. | 976 | :ref:`meta/classes-recipe/image.bbclass <ref-classes-image>`. |
977 | This class lists out the available | 977 | This class lists out the available |
978 | :term:`IMAGE_FEATURES` of which most map to package groups while some, such | 978 | :term:`IMAGE_FEATURES` of which most map to package groups while some, such |
979 | as ``debug-tweaks`` and ``read-only-rootfs``, resolve as general | 979 | as ``debug-tweaks`` and ``read-only-rootfs``, resolve as general |
@@ -6889,7 +6889,7 @@ multiple times if you have more than one set of modules to package. | |||
6889 | For more examples that show how to use ``do_split_packages``, see the | 6889 | For more examples that show how to use ``do_split_packages``, see the |
6890 | ``connman.inc`` file in the ``meta/recipes-connectivity/connman/`` | 6890 | ``connman.inc`` file in the ``meta/recipes-connectivity/connman/`` |
6891 | directory of the ``poky`` :ref:`source repository <overview-manual/development-environment:yocto project source repositories>`. You can | 6891 | directory of the ``poky`` :ref:`source repository <overview-manual/development-environment:yocto project source repositories>`. You can |
6892 | also find examples in ``meta/classes/kernel.bbclass``. | 6892 | also find examples in ``meta/classes-recipe/kernel.bbclass``. |
6893 | 6893 | ||
6894 | Following is a reference that shows ``do_split_packages`` mandatory and | 6894 | Following is a reference that shows ``do_split_packages`` mandatory and |
6895 | optional arguments:: | 6895 | optional arguments:: |