diff options
Diffstat (limited to 'documentation/dev-manual/common-tasks.rst')
-rw-r--r-- | documentation/dev-manual/common-tasks.rst | 19 |
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 | |||
2061 | removed later when a recipe is either modified or removed. Thus, the | 2061 | removed later when a recipe is either modified or removed. Thus, the |
2062 | sysroot is able to remain free from stale files. | 2062 | sysroot is able to remain free from stale files. |
2063 | 2063 | ||
2064 | A subset of the files installed by the | 2064 | A subset of the files installed by the :ref:`ref-tasks-install` task are |
2065 | :ref:`ref-tasks-install` task are | 2065 | used by the :ref:`ref-tasks-populate_sysroot` task as defined by the the |
2066 | used by the | 2066 | :term:`SYSROOT_DIRS` variable to automatically populate the sysroot. It |
2067 | :ref:`ref-tasks-populate_sysroot` | 2067 | is possible to modify the list of directories that populate the sysroot. |
2068 | task as defined by the | 2068 | The following example shows how you could add the ``/opt`` directory to |
2069 | :term:`SYSROOT_DIRS` variable to | 2069 | the list of directories within a recipe: |
2070 | automatically populate the sysroot. It is possible to modify the list of | ||
2071 | directories that populate the sysroot. The following example shows how | ||
2072 | you could add the ``/opt`` directory to the list of directories within a | ||
2073 | recipe: | ||
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 | ||
2084 | For a more complete description of the | 2080 | For a more complete description of the :ref:`ref-tasks-populate_sysroot` |
2085 | :ref:`ref-tasks-populate_sysroot` | ||
2086 | task and its associated functions, see the | 2081 | task and its associated functions, see the |
2087 | :ref:`staging <ref-classes-staging>` class. | 2082 | :ref:`staging <ref-classes-staging>` class. |
2088 | 2083 | ||