summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/common-tasks.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/dev-manual/common-tasks.rst')
-rw-r--r--documentation/dev-manual/common-tasks.rst19
1 files changed, 7 insertions, 12 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
index e5a90e15df..3f35dc6361 100644
--- a/documentation/dev-manual/common-tasks.rst
+++ b/documentation/dev-manual/common-tasks.rst
@@ -2061,16 +2061,12 @@ sysroot are cataloged in manifests in order to ensure the files can be
2061removed later when a recipe is either modified or removed. Thus, the 2061removed later when a recipe is either modified or removed. Thus, the
2062sysroot is able to remain free from stale files. 2062sysroot is able to remain free from stale files.
2063 2063
2064A subset of the files installed by the 2064A subset of the files installed by the :ref:`ref-tasks-install` task are
2065:ref:`ref-tasks-install` task are 2065used by the :ref:`ref-tasks-populate_sysroot` task as defined by the the
2066used by the 2066:term:`SYSROOT_DIRS` variable to automatically populate the sysroot. It
2067:ref:`ref-tasks-populate_sysroot` 2067is possible to modify the list of directories that populate the sysroot.
2068task as defined by the 2068The following example shows how you could add the ``/opt`` directory to
2069:term:`SYSROOT_DIRS` variable to 2069the list of directories within a recipe:
2070automatically populate the sysroot. It is possible to modify the list of
2071directories that populate the sysroot. The following example shows how
2072you could add the ``/opt`` directory to the list of directories within a
2073recipe:
2074:: 2070::
2075 2071
2076 SYSROOT_DIRS += "/opt" 2072 SYSROOT_DIRS += "/opt"
@@ -2081,8 +2077,7 @@ recipe:
2081 that are not included in the target filesystem, allowing them to share 2077 that are not included in the target filesystem, allowing them to share
2082 these artifacts without needing to use the ``DEPLOY_DIR``. 2078 these artifacts without needing to use the ``DEPLOY_DIR``.
2083 2079
2084For a more complete description of the 2080For a more complete description of the :ref:`ref-tasks-populate_sysroot`
2085:ref:`ref-tasks-populate_sysroot`
2086task and its associated functions, see the 2081task and its associated functions, see the
2087:ref:`staging <ref-classes-staging>` class. 2082:ref:`staging <ref-classes-staging>` class.
2088 2083