1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

ref-manual: tasks.rst: add references to the "do_cleansstate" task

[YOCTO #14508]
Reported-by: Quentin Schulz <foss@0leil.net>
(From yocto-docs rev: 2d48187906e289caf33bf53e6ddecfe56f6fd74b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Opdenacker
2022-09-23 19:25:47 +02:00
committed by Richard Purdie
parent 66a523d7e7
commit 2aae1accee
+3 -3
View File
@@ -492,7 +492,7 @@ task.
Removes all output files and shared state Removes all output files and shared state
(:ref:`sstate <overview-manual/concepts:shared state cache>`) cache for a (:ref:`sstate <overview-manual/concepts:shared state cache>`) cache for a
target. Essentially, the ``do_cleansstate`` task is identical to the target. Essentially, the :ref:`ref-tasks-cleansstate` task is identical to the
:ref:`ref-tasks-clean` task with the added removal of :ref:`ref-tasks-clean` task with the added removal of
shared state (:ref:`sstate <overview-manual/concepts:shared state cache>`) shared state (:ref:`sstate <overview-manual/concepts:shared state cache>`)
cache. cache.
@@ -501,13 +501,13 @@ You can run this task using BitBake as follows::
$ bitbake -c cleansstate recipe $ bitbake -c cleansstate recipe
When you run the ``do_cleansstate`` task, the OpenEmbedded build system When you run the :ref:`ref-tasks-cleansstate` task, the OpenEmbedded build system
no longer uses any sstate. Consequently, building the recipe from no longer uses any sstate. Consequently, building the recipe from
scratch is guaranteed. scratch is guaranteed.
.. note:: .. note::
The ``do_cleansstate`` task cannot remove sstate from a remote sstate The :ref:`ref-tasks-cleansstate` task cannot remove sstate from a remote sstate
mirror. If you need to build a target from scratch using remote mirrors, use mirror. If you need to build a target from scratch using remote mirrors, use
the "-f" option as follows:: the "-f" option as follows::