summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-09-23 17:20:26 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-10-07 10:54:25 +0100
commit9fece9c36125aeec1ee3b3845fc914ec0dbf3034 (patch)
tree9ee53e939349006219c1b325c5afa395e723dd14
parent84251f8d24034163ec785d0f5715634b90f2c1bf (diff)
downloadpoky-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>
-rw-r--r--documentation/dev-manual/common-tasks.rst32
-rw-r--r--documentation/migration-guides/migration-3.2.rst4
-rw-r--r--documentation/migration-guides/migration-4.0.rst2
-rw-r--r--documentation/overview-manual/concepts.rst4
-rw-r--r--documentation/ref-manual/classes.rst8
-rw-r--r--documentation/ref-manual/faq.rst2
-rw-r--r--documentation/ref-manual/qa-checks.rst12
-rw-r--r--documentation/ref-manual/tasks.rst2
-rw-r--r--documentation/ref-manual/variables.rst2
-rw-r--r--documentation/sdk-manual/extensible.rst2
10 files changed, 35 insertions, 35 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
index 3d96399047..a6e61c891f 100644
--- a/documentation/dev-manual/common-tasks.rst
+++ b/documentation/dev-manual/common-tasks.rst
@@ -1731,7 +1731,7 @@ your software is built:
1731 1731
1732 If you need to install one or more custom CMake toolchain files 1732 If you need to install one or more custom CMake toolchain files
1733 that are supplied by the application you are building, install the 1733 that are supplied by the application you are building, install the
1734 files to ``${D}${datadir}/cmake/Modules`` during ``do_install``. 1734 files to ``${D}${datadir}/cmake/Modules`` during :ref:`ref-tasks-install`.
1735 1735
1736- *Other:* If your source files do not have a ``configure.ac`` or 1736- *Other:* If your source files do not have a ``configure.ac`` or
1737 ``CMakeLists.txt`` file, then your software is built using some 1737 ``CMakeLists.txt`` file, then your software is built using some
@@ -1888,7 +1888,7 @@ Here are some common issues that cause failures.
1888Installing 1888Installing
1889---------- 1889----------
1890 1890
1891During ``do_install``, the task copies the built files along with their 1891During :ref:`ref-tasks-install`, the task copies the built files along with their
1892hierarchy to locations that would mirror their locations on the target 1892hierarchy to locations that would mirror their locations on the target
1893device. The installation process copies files from the 1893device. The installation process copies files from the
1894``${``\ :term:`S`\ ``}``, 1894``${``\ :term:`S`\ ``}``,
@@ -1906,14 +1906,14 @@ the software being built:
1906- *Autotools and CMake:* If the software your recipe is building uses 1906- *Autotools and CMake:* If the software your recipe is building uses
1907 Autotools or CMake, the OpenEmbedded build system understands how to 1907 Autotools or CMake, the OpenEmbedded build system understands how to
1908 install the software. Consequently, you do not have to have a 1908 install the software. Consequently, you do not have to have a
1909 ``do_install`` task as part of your recipe. You just need to make 1909 :ref:`ref-tasks-install` task as part of your recipe. You just need to make
1910 sure the install portion of the build completes with no issues. 1910 sure the install portion of the build completes with no issues.
1911 However, if you wish to install additional files not already being 1911 However, if you wish to install additional files not already being
1912 installed by ``make install``, you should do this using a 1912 installed by ``make install``, you should do this using a
1913 ``do_install:append`` function using the install command as described 1913 ``do_install:append`` function using the install command as described
1914 in the "Manual" bulleted item later in this list. 1914 in the "Manual" bulleted item later in this list.
1915 1915
1916- *Other (using* ``make install``\ *)*: You need to define a ``do_install`` 1916- *Other (using* ``make install``\ *)*: You need to define a :ref:`ref-tasks-install`
1917 function in your recipe. The function should call 1917 function in your recipe. The function should call
1918 ``oe_runmake install`` and will likely need to pass in the 1918 ``oe_runmake install`` and will likely need to pass in the
1919 destination directory as well. How you pass that path is dependent on 1919 destination directory as well. How you pass that path is dependent on
@@ -1923,7 +1923,7 @@ the software being built:
1923 For an example recipe using ``make install``, see the 1923 For an example recipe using ``make install``, see the
1924 ":ref:`dev-manual/common-tasks:makefile-based package`" section. 1924 ":ref:`dev-manual/common-tasks:makefile-based package`" section.
1925 1925
1926- *Manual:* You need to define a ``do_install`` function in your 1926- *Manual:* You need to define a :ref:`ref-tasks-install` function in your
1927 recipe. The function must first use ``install -d`` to create the 1927 recipe. The function must first use ``install -d`` to create the
1928 directories under 1928 directories under
1929 ``${``\ :term:`D`\ ``}``. Once the 1929 ``${``\ :term:`D`\ ``}``. Once the
@@ -1946,10 +1946,10 @@ installed correctly.
1946 might need to replace hard-coded paths in an initscript with 1946 might need to replace hard-coded paths in an initscript with
1947 values of variables provided by the build system, such as 1947 values of variables provided by the build system, such as
1948 replacing ``/usr/bin/`` with ``${bindir}``. If you do perform such 1948 replacing ``/usr/bin/`` with ``${bindir}``. If you do perform such
1949 modifications during ``do_install``, be sure to modify the 1949 modifications during :ref:`ref-tasks-install`, be sure to modify the
1950 destination file after copying rather than before copying. 1950 destination file after copying rather than before copying.
1951 Modifying after copying ensures that the build system can 1951 Modifying after copying ensures that the build system can
1952 re-execute ``do_install`` if needed. 1952 re-execute :ref:`ref-tasks-install` if needed.
1953 1953
1954 - ``oe_runmake install``, which can be run directly or can be run 1954 - ``oe_runmake install``, which can be run directly or can be run
1955 indirectly by the 1955 indirectly by the
@@ -1958,7 +1958,7 @@ installed correctly.
1958 runs ``make install`` in parallel. Sometimes, a Makefile can have 1958 runs ``make install`` in parallel. Sometimes, a Makefile can have
1959 missing dependencies between targets that can result in race 1959 missing dependencies between targets that can result in race
1960 conditions. If you experience intermittent failures during 1960 conditions. If you experience intermittent failures during
1961 ``do_install``, you might be able to work around them by disabling 1961 :ref:`ref-tasks-install`, you might be able to work around them by disabling
1962 parallel Makefile installs by adding the following to the recipe:: 1962 parallel Makefile installs by adding the following to the recipe::
1963 1963
1964 PARALLEL_MAKEINST = "" 1964 PARALLEL_MAKEINST = ""
@@ -1980,7 +1980,7 @@ additional definitions in your recipe.
1980If you are adding services and the service initialization script or the 1980If you are adding services and the service initialization script or the
1981service file itself is not installed, you must provide for that 1981service file itself is not installed, you must provide for that
1982installation in your recipe using a ``do_install:append`` function. If 1982installation in your recipe using a ``do_install:append`` function. If
1983your recipe already has a ``do_install`` function, update the function 1983your recipe already has a :ref:`ref-tasks-install` function, update the function
1984near its end rather than adding an additional ``do_install:append`` 1984near its end rather than adding an additional ``do_install:append``
1985function. 1985function.
1986 1986
@@ -2337,7 +2337,7 @@ Single .c File Package (Hello World!)
2337Building an application from a single file that is stored locally (e.g. 2337Building an application from a single file that is stored locally (e.g.
2338under ``files``) requires a recipe that has the file listed in the 2338under ``files``) requires a recipe that has the file listed in the
2339:term:`SRC_URI` variable. Additionally, you need to manually write the 2339:term:`SRC_URI` variable. Additionally, you need to manually write the
2340``do_compile`` and ``do_install`` tasks. The :term:`S` variable defines the 2340``do_compile`` and :ref:`ref-tasks-install` tasks. The :term:`S` variable defines the
2341directory containing the source code, which is set to 2341directory containing the source code, which is set to
2342:term:`WORKDIR` in this case --- the 2342:term:`WORKDIR` in this case --- the
2343directory BitBake uses for the build. 2343directory BitBake uses for the build.
@@ -2407,8 +2407,8 @@ should store them in the
2407:term:`EXTRA_OEMAKE` or 2407:term:`EXTRA_OEMAKE` or
2408:term:`PACKAGECONFIG_CONFARGS` 2408:term:`PACKAGECONFIG_CONFARGS`
2409variables. BitBake passes these options into the GNU ``make`` 2409variables. BitBake passes these options into the GNU ``make``
2410invocation. Note that a ``do_install`` task is still required. 2410invocation. Note that a :ref:`ref-tasks-install` task is still required.
2411Otherwise, BitBake runs an empty ``do_install`` task by default. 2411Otherwise, BitBake runs an empty :ref:`ref-tasks-install` task by default.
2412 2412
2413Some applications might require extra parameters to be passed to the 2413Some applications might require extra parameters to be passed to the
2414compiler. For example, the application might need an additional header 2414compiler. For example, the application might need an additional header
@@ -2567,7 +2567,7 @@ doing the following:
2567 :ref:`ref-tasks-patch` tasks to the 2567 :ref:`ref-tasks-patch` tasks to the
2568 :ref:`ref-tasks-install` task. 2568 :ref:`ref-tasks-install` task.
2569 2569
2570- Make sure your ``do_install`` task installs the binaries 2570- Make sure your :ref:`ref-tasks-install` task installs the binaries
2571 appropriately. 2571 appropriately.
2572 2572
2573- Ensure that you set up :term:`FILES` 2573- Ensure that you set up :term:`FILES`
@@ -4700,7 +4700,7 @@ the built library.
4700The :term:`PACKAGES` and 4700The :term:`PACKAGES` and
4701:term:`FILES:* <FILES>` variables in the 4701:term:`FILES:* <FILES>` variables in the
4702``meta/conf/bitbake.conf`` configuration file define how files installed 4702``meta/conf/bitbake.conf`` configuration file define how files installed
4703by the ``do_install`` task are packaged. By default, the :term:`PACKAGES` 4703by the :ref:`ref-tasks-install` task are packaged. By default, the :term:`PACKAGES`
4704variable includes ``${PN}-staticdev``, which represents all static 4704variable includes ``${PN}-staticdev``, which represents all static
4705library files. 4705library files.
4706 4706
@@ -6862,7 +6862,7 @@ The previous example specifies a number of things in the call to
6862``do_split_packages``. 6862``do_split_packages``.
6863 6863
6864- A directory within the files installed by your recipe through 6864- A directory within the files installed by your recipe through
6865 ``do_install`` in which to search. 6865 :ref:`ref-tasks-install` in which to search.
6866 6866
6867- A regular expression used to match module files in that directory. In 6867- A regular expression used to match module files in that directory. In
6868 the example, note the parentheses () that mark the part of the 6868 the example, note the parentheses () that mark the part of the
@@ -9594,7 +9594,7 @@ Running Specific Tasks
9594 9594
9595Any given recipe consists of a set of tasks. The standard BitBake 9595Any given recipe consists of a set of tasks. The standard BitBake
9596behavior in most cases is: :ref:`ref-tasks-fetch`, ``do_unpack``, ``do_patch``, 9596behavior in most cases is: :ref:`ref-tasks-fetch`, ``do_unpack``, ``do_patch``,
9597``do_configure``, ``do_compile``, ``do_install``, ``do_package``, 9597``do_configure``, ``do_compile``, :ref:`ref-tasks-install`, ``do_package``,
9598``do_package_write_*``, and ``do_build``. The default task is 9598``do_package_write_*``, and ``do_build``. The default task is
9599``do_build`` and any tasks on which it depends build first. Some tasks, 9599``do_build`` and any tasks on which it depends build first. Some tasks,
9600such as ``do_devshell``, are not part of the default build chain. If you 9600such as ``do_devshell``, are not part of the default build chain. If you
diff --git a/documentation/migration-guides/migration-3.2.rst b/documentation/migration-guides/migration-3.2.rst
index a4d0479d92..8d251deaf7 100644
--- a/documentation/migration-guides/migration-3.2.rst
+++ b/documentation/migration-guides/migration-3.2.rst
@@ -60,7 +60,7 @@ pseudo as the interprocess round trip to the server is avoided.
60 60
61There is a possible complication where some existing recipe may break, for 61There is a possible complication where some existing recipe may break, for
62example, a recipe was found to be writing to ``${B}/install`` for 62example, a recipe was found to be writing to ``${B}/install`` for
63``make install`` in ``do_install`` and since ``${B}`` is listed as not to be tracked, 63``make install`` in :ref:`ref-tasks-install` and since ``${B}`` is listed as not to be tracked,
64there were errors trying to ``chown root`` for files in this location. Another 64there were errors trying to ``chown root`` for files in this location. Another
65example was the ``tcl`` recipe where the source directory :term:`S` is set to a 65example was the ``tcl`` recipe where the source directory :term:`S` is set to a
66subdirectory of the source tree but files were written out to the directory 66subdirectory of the source tree but files were written out to the directory
@@ -207,7 +207,7 @@ files into a subdirectory and reference that instead.
207deploy class now cleans ``DEPLOYDIR`` before ``do_deploy`` 207deploy class now cleans ``DEPLOYDIR`` before ``do_deploy``
208---------------------------------------------------------- 208----------------------------------------------------------
209 209
210``do_deploy`` as implemented in the :ref:`deploy <ref-classes-deploy>` class now cleans up ${:term:`DEPLOYDIR`} before running, just as ``do_install`` cleans up ${:term:`D`} before running. This reduces the risk of :term:`DEPLOYDIR` being accidentally contaminated by files from previous runs, possibly even with different config, in case of incremental builds. 210``do_deploy`` as implemented in the :ref:`deploy <ref-classes-deploy>` class now cleans up ${:term:`DEPLOYDIR`} before running, just as :ref:`ref-tasks-install` cleans up ${:term:`D`} before running. This reduces the risk of :term:`DEPLOYDIR` being accidentally contaminated by files from previous runs, possibly even with different config, in case of incremental builds.
211 211
212Most recipes and classes that inherit the :ref:`deploy <ref-classes-deploy>` class or interact with ``do_deploy`` are unlikely to be affected by this unless they add ``prefuncs`` to ``do_deploy`` *which also* put files into ``${DEPLOYDIR}`` --- these should be refactored to use ``do_deploy_prepend`` instead. 212Most recipes and classes that inherit the :ref:`deploy <ref-classes-deploy>` class or interact with ``do_deploy`` are unlikely to be affected by this unless they add ``prefuncs`` to ``do_deploy`` *which also* put files into ``${DEPLOYDIR}`` --- these should be refactored to use ``do_deploy_prepend`` instead.
213 213
diff --git a/documentation/migration-guides/migration-4.0.rst b/documentation/migration-guides/migration-4.0.rst
index ce3212a464..02d3c3e2bd 100644
--- a/documentation/migration-guides/migration-4.0.rst
+++ b/documentation/migration-guides/migration-4.0.rst
@@ -145,7 +145,7 @@ Python changes
145 :ref:`python_setuptools_build_meta <ref-classes-python_setuptools_build_meta>` 145 :ref:`python_setuptools_build_meta <ref-classes-python_setuptools_build_meta>`
146 and :ref:`python_poetry_core <ref-classes-python_poetry_core>`. 146 and :ref:`python_poetry_core <ref-classes-python_poetry_core>`.
147 147
148- The :ref:`setuptools3 <ref-classes-setuptools3>` class ``do_install()`` task now 148- The :ref:`setuptools3 <ref-classes-setuptools3>` class :ref:`ref-tasks-install` task now
149 installs the ``wheel`` binary archive. In current versions of ``setuptools`` the 149 installs the ``wheel`` binary archive. In current versions of ``setuptools`` the
150 legacy ``setup.py install`` method is deprecated. If the ``setup.py`` cannot be used 150 legacy ``setup.py install`` method is deprecated. If the ``setup.py`` cannot be used
151 with wheels, for example it creates files outside of the Python module or standard 151 with wheels, for example it creates files outside of the Python module or standard
diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst
index fa060ce0de..2e1aa3df48 100644
--- a/documentation/overview-manual/concepts.rst
+++ b/documentation/overview-manual/concepts.rst
@@ -1209,7 +1209,7 @@ The build system has knowledge of the relationship between these tasks
1209and other preceding tasks. For example, if BitBake runs 1209and other preceding tasks. For example, if BitBake runs
1210``do_populate_sysroot_setscene`` for something, it does not make sense 1210``do_populate_sysroot_setscene`` for something, it does not make sense
1211to run any of the :ref:`ref-tasks-fetch`, ``do_unpack``, ``do_patch``, 1211to run any of the :ref:`ref-tasks-fetch`, ``do_unpack``, ``do_patch``,
1212``do_configure``, ``do_compile``, and ``do_install`` tasks. However, if 1212``do_configure``, ``do_compile``, and :ref:`ref-tasks-install` tasks. However, if
1213``do_package`` needs to be run, BitBake needs to run those other tasks. 1213``do_package`` needs to be run, BitBake needs to run those other tasks.
1214 1214
1215It becomes more complicated if everything can come from an sstate cache 1215It becomes more complicated if everything can come from an sstate cache
@@ -2163,7 +2163,7 @@ operations that are normally reserved for the root user (e.g.
2163:ref:`do_package_write* <ref-tasks-package_write_deb>`, 2163:ref:`do_package_write* <ref-tasks-package_write_deb>`,
2164:ref:`ref-tasks-rootfs`, and 2164:ref:`ref-tasks-rootfs`, and
2165:ref:`do_image* <ref-tasks-image>`). For example, 2165:ref:`do_image* <ref-tasks-image>`). For example,
2166the ``do_install`` task benefits from being able to set the UID and GID 2166the :ref:`ref-tasks-install` task benefits from being able to set the UID and GID
2167of installed files to arbitrary values. 2167of installed files to arbitrary values.
2168 2168
2169One approach to allowing tasks to perform root-only operations would be 2169One approach to allowing tasks to perform root-only operations would be
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index f402d090c9..673e90d9ec 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -1081,12 +1081,12 @@ Here are the tests you can list with the :term:`WARN_QA` and
1081 might result in host contamination of the build output. 1081 might result in host contamination of the build output.
1082 1082
1083- ``installed-vs-shipped:`` Reports when files have been installed 1083- ``installed-vs-shipped:`` Reports when files have been installed
1084 within ``do_install`` but have not been included in any package by 1084 within :ref:`ref-tasks-install` but have not been included in any package by
1085 way of the :term:`FILES` variable. Files that do not 1085 way of the :term:`FILES` variable. Files that do not
1086 appear in any package cannot be present in an image later on in the 1086 appear in any package cannot be present in an image later on in the
1087 build process. Ideally, all installed files should be packaged or not 1087 build process. Ideally, all installed files should be packaged or not
1088 installed at all. These files can be deleted at the end of 1088 installed at all. These files can be deleted at the end of
1089 ``do_install`` if the files are not needed in any package. 1089 :ref:`ref-tasks-install` if the files are not needed in any package.
1090 1090
1091- ``invalid-chars:`` Checks that the recipe metadata variables 1091- ``invalid-chars:`` Checks that the recipe metadata variables
1092 :term:`DESCRIPTION`, 1092 :term:`DESCRIPTION`,
@@ -1339,7 +1339,7 @@ Only a single U-boot boot script can be added to the FIT image created by
1339``kernel-fitimage`` and the boot script is optional. 1339``kernel-fitimage`` and the boot script is optional.
1340The boot script is specified in the ITS file as a text file containing 1340The boot script is specified in the ITS file as a text file containing
1341U-boot commands. When using a boot script the user should configure the 1341U-boot commands. When using a boot script the user should configure the
1342U-boot ``do_install`` task to copy the script to sysroot. 1342U-boot :ref:`ref-tasks-install` task to copy the script to sysroot.
1343So the script can be included in the FIT image by the ``kernel-fitimage`` 1343So the script can be included in the FIT image by the ``kernel-fitimage``
1344class. At run-time, U-boot CONFIG_BOOTCOMMAND define can be configured to 1344class. At run-time, U-boot CONFIG_BOOTCOMMAND define can be configured to
1345load the boot script from the FIT image and executes it. 1345load the boot script from the FIT image and executes it.
@@ -2412,7 +2412,7 @@ uses these build systems, the recipe needs to inherit the ``setuptools3`` class.
2412 2412
2413 .. note:: 2413 .. note::
2414 2414
2415 The ``setuptools3`` class ``do_install()`` task now installs the ``wheel`` 2415 The ``setuptools3`` class :ref:`ref-tasks-install` task now installs the ``wheel``
2416 binary archive. In current versions of ``setuptools`` the legacy ``setup.py 2416 binary archive. In current versions of ``setuptools`` the legacy ``setup.py
2417 install`` method is deprecated. If the ``setup.py`` cannot be used with 2417 install`` method is deprecated. If the ``setup.py`` cannot be used with
2418 wheels, for example it creates files outside of the Python module or 2418 wheels, for example it creates files outside of the Python module or
diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst
index 61049523a0..cb90677923 100644
--- a/documentation/ref-manual/faq.rst
+++ b/documentation/ref-manual/faq.rst
@@ -437,7 +437,7 @@ practice very effective.
437**Q:** The files provided by my ``*-native`` recipe do not appear to be 437**Q:** The files provided by my ``*-native`` recipe do not appear to be
438available to other recipes. Files are missing from the native sysroot, 438available to other recipes. Files are missing from the native sysroot,
439my recipe is installing to the wrong place, or I am getting permissions 439my recipe is installing to the wrong place, or I am getting permissions
440errors during the do_install task in my recipe! What is wrong? 440errors during the :ref:`ref-tasks-install` task in my recipe! What is wrong?
441 441
442**A:** This situation results when a build system does not recognize the 442**A:** This situation results when a build system does not recognize the
443environment variables supplied to it by :term:`BitBake`. The 443environment variables supplied to it by :term:`BitBake`. The
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
diff --git a/documentation/ref-manual/tasks.rst b/documentation/ref-manual/tasks.rst
index 2a692c1725..24203fcf78 100644
--- a/documentation/ref-manual/tasks.rst
+++ b/documentation/ref-manual/tasks.rst
@@ -168,7 +168,7 @@ section in the Yocto Project Overview and Concepts Manual.
168Copies files that are to be packaged into the holding area 168Copies files that are to be packaged into the holding area
169``${``\ :term:`D`\ ``}``. This task runs with the current 169``${``\ :term:`D`\ ``}``. This task runs with the current
170working directory set to ``${``\ :term:`B`\ ``}``, which is the 170working directory set to ``${``\ :term:`B`\ ``}``, which is the
171compilation directory. The ``do_install`` task, as well as other tasks 171compilation directory. The :ref:`ref-tasks-install` task, as well as other tasks
172that either directly or indirectly depend on the installed files (e.g. 172that either directly or indirectly depend on the installed files (e.g.
173:ref:`ref-tasks-package`, ``do_package_write_*``, and 173:ref:`ref-tasks-package`, ``do_package_write_*``, and
174:ref:`ref-tasks-rootfs`), run under 174:ref:`ref-tasks-rootfs`), run under
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 2e2e16574c..1582664e62 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -5675,7 +5675,7 @@ system and gives an overview of their function and contents.
5675 way to ensure this is to use the ``oe_runmake`` function. 5675 way to ensure this is to use the ``oe_runmake`` function.
5676 5676
5677 If the software being built experiences dependency issues during 5677 If the software being built experiences dependency issues during
5678 the ``do_install`` task that result in race conditions, you can 5678 the :ref:`ref-tasks-install` task that result in race conditions, you can
5679 clear the :term:`PARALLEL_MAKEINST` variable within the recipe as a 5679 clear the :term:`PARALLEL_MAKEINST` variable within the recipe as a
5680 workaround. For information on addressing race conditions, see the 5680 workaround. For information on addressing race conditions, see the
5681 ":ref:`dev-manual/common-tasks:debugging parallel make races`" 5681 ":ref:`dev-manual/common-tasks:debugging parallel make races`"
diff --git a/documentation/sdk-manual/extensible.rst b/documentation/sdk-manual/extensible.rst
index 0df6519b8e..09b7169811 100644
--- a/documentation/sdk-manual/extensible.rst
+++ b/documentation/sdk-manual/extensible.rst
@@ -1112,7 +1112,7 @@ links created within the source tree:
1112 ``${``\ :term:`D`\ ``}``. 1112 ``${``\ :term:`D`\ ``}``.
1113 1113
1114 - ``sysroot-destdir/``: Contains a subset of files installed within 1114 - ``sysroot-destdir/``: Contains a subset of files installed within
1115 ``do_install`` that have been put into the shared sysroot. For 1115 :ref:`ref-tasks-install` that have been put into the shared sysroot. For
1116 more information, see the 1116 more information, see the
1117 ":ref:`dev-manual/common-tasks:sharing files between recipes`" section. 1117 ":ref:`dev-manual/common-tasks:sharing files between recipes`" section.
1118 1118