diff options
-rw-r--r-- | documentation/ref-manual/tasks.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/documentation/ref-manual/tasks.rst b/documentation/ref-manual/tasks.rst index 16b48ca0bc..c28cd7a94a 100644 --- a/documentation/ref-manual/tasks.rst +++ b/documentation/ref-manual/tasks.rst | |||
@@ -516,6 +516,18 @@ scratch is guaranteed. | |||
516 | 516 | ||
517 | .. note:: | 517 | .. note:: |
518 | 518 | ||
519 | Using :ref:`ref-tasks-cleansstate` with a shared :term:`SSTATE_DIR` is | ||
520 | not recommended because it could trigger an error during the build of a | ||
521 | separate BitBake instance. This is because the builds check sstate "up | ||
522 | front" but download the files later, so it if is deleted in the | ||
523 | meantime, it will cause an error but not a total failure as it will | ||
524 | rebuild it. | ||
525 | |||
526 | The reliable and preferred way to force a new build is to use ``bitbake | ||
527 | -f`` instead. | ||
528 | |||
529 | .. note:: | ||
530 | |||
519 | The :ref:`ref-tasks-cleansstate` task cannot remove sstate from a remote sstate | 531 | The :ref:`ref-tasks-cleansstate` task cannot remove sstate from a remote sstate |
520 | mirror. If you need to build a target from scratch using remote mirrors, use | 532 | mirror. If you need to build a target from scratch using remote mirrors, use |
521 | the "-f" option as follows:: | 533 | the "-f" option as follows:: |