diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-09-23 17:20:26 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-07 10:54:25 +0100 |
commit | 9fece9c36125aeec1ee3b3845fc914ec0dbf3034 (patch) | |
tree | 9ee53e939349006219c1b325c5afa395e723dd14 /documentation/ref-manual/qa-checks.rst | |
parent | 84251f8d24034163ec785d0f5715634b90f2c1bf (diff) | |
download | poky-9fece9c36125aeec1ee3b3845fc914ec0dbf3034.tar.gz |
manuals: add reference to the "do_install" task
[YOCTO #14508]
(From yocto-docs rev: 933ad27b81dfc4a28e7c48ca7bb2d1363e8c037f)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/qa-checks.rst')
-rw-r--r-- | documentation/ref-manual/qa-checks.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst index fbab1dc92e..ff8916aedf 100644 --- a/documentation/ref-manual/qa-checks.rst +++ b/documentation/ref-manual/qa-checks.rst | |||
@@ -162,7 +162,7 @@ Errors and Warnings | |||
162 | normally expected to be empty (such as ``/tmp``). These files may | 162 | normally expected to be empty (such as ``/tmp``). These files may |
163 | be more appropriately installed to a different location, or | 163 | be more appropriately installed to a different location, or |
164 | perhaps alternatively not installed at all, usually by updating the | 164 | perhaps alternatively not installed at all, usually by updating the |
165 | ``do_install`` task/function. | 165 | :ref:`ref-tasks-install` task/function. |
166 | 166 | ||
167 | .. _qa-check-arch: | 167 | .. _qa-check-arch: |
168 | 168 | ||
@@ -536,7 +536,7 @@ Errors and Warnings | |||
536 | in (e.g. ``FILES:${``\ :term:`PN`\ ``}`` for the main | 536 | in (e.g. ``FILES:${``\ :term:`PN`\ ``}`` for the main |
537 | package). | 537 | package). |
538 | 538 | ||
539 | - Delete the files at the end of the ``do_install`` task if the | 539 | - Delete the files at the end of the :ref:`ref-tasks-install` task if the |
540 | files are not needed in any package. | 540 | files are not needed in any package. |
541 | 541 | ||
542 | 542 | ||
@@ -582,7 +582,7 @@ Errors and Warnings | |||
582 | ``${datadir}/mime/packages``) and yet does not inherit the mime | 582 | ``${datadir}/mime/packages``) and yet does not inherit the mime |
583 | class which will ensure that these get properly installed. Either | 583 | class which will ensure that these get properly installed. Either |
584 | add ``inherit mime`` to the recipe or remove the files at the | 584 | add ``inherit mime`` to the recipe or remove the files at the |
585 | ``do_install`` step if they are not needed. | 585 | :ref:`ref-tasks-install` step if they are not needed. |
586 | 586 | ||
587 | 587 | ||
588 | .. _qa-check-mime-xdg: | 588 | .. _qa-check-mime-xdg: |
@@ -592,7 +592,7 @@ Errors and Warnings | |||
592 | The specified package contains a .desktop file with a 'MimeType' key | 592 | The specified package contains a .desktop file with a 'MimeType' key |
593 | present, but does not inherit the mime-xdg class that is required in | 593 | present, but does not inherit the mime-xdg class that is required in |
594 | order for that to be activated. Either add ``inherit mime`` to the | 594 | order for that to be activated. Either add ``inherit mime`` to the |
595 | recipe or remove the files at the ``do_install`` step if they are not | 595 | recipe or remove the files at the :ref:`ref-tasks-install` step if they are not |
596 | needed. | 596 | needed. |
597 | 597 | ||
598 | 598 | ||
@@ -667,8 +667,8 @@ Errors and Warnings | |||
667 | 667 | ||
668 | If ``usrmerge`` is in :term:`DISTRO_FEATURES`, this check will ensure that no package | 668 | If ``usrmerge`` is in :term:`DISTRO_FEATURES`, this check will ensure that no package |
669 | installs files to root (``/bin``, ``/sbin``, ``/lib``, ``/lib64``) directories. If you are seeing this | 669 | installs files to root (``/bin``, ``/sbin``, ``/lib``, ``/lib64``) directories. If you are seeing this |
670 | message, it indicates that the ``do_install`` step (or perhaps the build process that | 670 | message, it indicates that the :ref:`ref-tasks-install` step (or perhaps the build process that |
671 | ``do_install`` is calling into, e.g. ``make install`` is using hardcoded paths instead | 671 | :ref:`ref-tasks-install` is calling into, e.g. ``make install`` is using hardcoded paths instead |
672 | of the variables set up for this (``bindir``, ``sbindir``, etc.), and should be | 672 | of the variables set up for this (``bindir``, ``sbindir``, etc.), and should be |
673 | changed so that it does. | 673 | changed so that it does. |
674 | 674 | ||