diff options
author | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2024-02-28 12:25:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-06 16:54:54 +0000 |
commit | aca3afe8278e9eceb47e2e7c71efd0ae2c0acac2 (patch) | |
tree | f266e56f60b60e6ae8852ff3865459e411d1be5d /documentation/set_versions.py | |
parent | aaa609ac2b3f3bd807d1f4d64a507a30210876dd (diff) | |
download | poky-aca3afe8278e9eceb47e2e7c71efd0ae2c0acac2.tar.gz |
ref-manual: tasks: do_cleanall: recommend using '-f' instead
do_cleanall can produce failures when used in legitimate cases, such as
with recipe variants (foo and foo-native) or a shared DL_DIR. This is why
it is forbidden when writing tests that will run on the autobuilders
(https://docs.yoctoproject.org/test-manual/intro.html?highlight=cleanall#considerations-when-writing-tests).
Reword the documentation to clearly discourage, provide a safe alternative
(bitbake -f -c fetch), and the rationale with an example.
Reported-by: Sam Liddicott
Link: https://bootlin.com/blog/yocto-sharing-the-sstate-cache-and-download-directories/#comment-2650335
(From yocto-docs rev: bfeb00f9213b9d2650ccf03ea666387415227be4)
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/set_versions.py')
0 files changed, 0 insertions, 0 deletions