mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
manuals: add references to the "do_deploy" task
[YOCTO #14508] Reported-by: Quentin Schulz <foss@0leil.net> (From yocto-docs rev: b607a0578e8edd3e4ee013b4438481cb82bc106e) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6ade5d2d0e
commit
0e8d0ecc6c
@@ -81,7 +81,7 @@ Recipes implementing this task should inherit the
|
||||
:ref:`deploy <ref-classes-deploy>` class and should write the output
|
||||
to ``${``\ :term:`DEPLOYDIR`\ ``}``, which is not to be
|
||||
confused with ``${DEPLOY_DIR}``. The :ref:`deploy <ref-classes-deploy>` class sets up
|
||||
``do_deploy`` as a shared state (sstate) task that can be accelerated
|
||||
:ref:`ref-tasks-deploy` as a shared state (sstate) task that can be accelerated
|
||||
through sstate use. The sstate mechanism takes care of copying the
|
||||
output from ``${DEPLOYDIR}`` to ``${DEPLOY_DIR_IMAGE}``.
|
||||
|
||||
@@ -90,14 +90,14 @@ output from ``${DEPLOYDIR}`` to ``${DEPLOY_DIR_IMAGE}``.
|
||||
Do not write the output directly to ``${DEPLOY_DIR_IMAGE}``, as this causes
|
||||
the sstate mechanism to malfunction.
|
||||
|
||||
The ``do_deploy`` task is not added as a task by default and
|
||||
The :ref:`ref-tasks-deploy` task is not added as a task by default and
|
||||
consequently needs to be added manually. If you want the task to run
|
||||
after :ref:`ref-tasks-compile`, you can add it by doing
|
||||
the following::
|
||||
|
||||
addtask deploy after do_compile
|
||||
|
||||
Adding ``do_deploy`` after other tasks works the same way.
|
||||
Adding :ref:`ref-tasks-deploy` after other tasks works the same way.
|
||||
|
||||
.. note::
|
||||
|
||||
@@ -110,7 +110,7 @@ Adding ``do_deploy`` after other tasks works the same way.
|
||||
See the ":ref:`bitbake-user-manual/bitbake-user-manual-execution:dependencies`"
|
||||
section in the BitBake User Manual for more information.
|
||||
|
||||
If the ``do_deploy`` task re-executes, any previous output is removed
|
||||
If the :ref:`ref-tasks-deploy` task re-executes, any previous output is removed
|
||||
(i.e. "cleaned").
|
||||
|
||||
.. _ref-tasks-fetch:
|
||||
|
||||
@@ -6754,7 +6754,7 @@ system and gives an overview of their function and contents.
|
||||
- do_populate_lic
|
||||
- do_package_qa
|
||||
- do_populate_sysroot
|
||||
- do_deploy
|
||||
- :ref:`ref-tasks-deploy`
|
||||
|
||||
Despite the default value of "" for the
|
||||
:term:`SDK_RECRDEP_TASKS` variable, the above four tasks are always added
|
||||
|
||||
Reference in New Issue
Block a user