summaryrefslogtreecommitdiffstats
path: root/documentation/overview-manual/concepts.rst
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2023-09-28 12:26:16 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-09 15:52:17 +0100
commit9f64aa4afce52c9b50499e6c0a4e56732f9a800a (patch)
tree630af0da11f7edff95cc7122c44feb140c197e81 /documentation/overview-manual/concepts.rst
parentced8fd6ea97947d3f52e3b46fbd5de9ab207d89d (diff)
downloadpoky-9f64aa4afce52c9b50499e6c0a4e56732f9a800a.tar.gz
overview: Add note about non-reproducibility side effects
Adds an additional note about some of the side effects that can occur if recipes are not reproducible and hash equivalence is enabled. (From yocto-docs rev: 1ccc8eefe21bc432c903bb245bd0dab06e67cc14) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/overview-manual/concepts.rst')
-rw-r--r--documentation/overview-manual/concepts.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst
index af825a98ce..4e3f6425a4 100644
--- a/documentation/overview-manual/concepts.rst
+++ b/documentation/overview-manual/concepts.rst
@@ -1963,6 +1963,15 @@ task output from the Shared State cache.
1963 the stability of the task's output hash. Therefore, the effectiveness 1963 the stability of the task's output hash. Therefore, the effectiveness
1964 of Hash Equivalence strongly depends on it. 1964 of Hash Equivalence strongly depends on it.
1965 1965
1966 Recipes that are not reproducible may have undesired behavior if hash
1967 equivalence is enabled, since the non-reproducible diverging output maybe be
1968 remapped to an older sstate object in the cache by the server. If a recipe
1969 is non-reproducible in trivial ways, such as different timestamps, this is
1970 likely not a problem. However recipes that have more dramatic changes (such
1971 as completely different file names) will likely outright fail since the
1972 downstream sstate objects are not actually equivalent to what was just
1973 built.
1974
1966This applies to multiple scenarios: 1975This applies to multiple scenarios:
1967 1976
1968- A "trivial" change to a recipe that doesn't impact its generated output, 1977- A "trivial" change to a recipe that doesn't impact its generated output,