diff options
| author | Joshua Watt <JPEWhacker@gmail.com> | 2023-09-28 12:26:16 -0600 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-10-18 05:13:24 -1000 |
| commit | a721e0f85be99c686ac8c10a34a839fd593ddeae (patch) | |
| tree | 1656a5637619cb8210d8335c44583a6cc251b4a6 /documentation/overview-manual | |
| parent | fbf88236e3bb6c6c7f9da80901b6b88a92211f67 (diff) | |
| download | poky-a721e0f85be99c686ac8c10a34a839fd593ddeae.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: aaf3e97c78e235bf3042c79ecdcf0b7c1a68ca8f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/overview-manual')
| -rw-r--r-- | documentation/overview-manual/concepts.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst index 7ad21e0d7d..76e02eafff 100644 --- a/documentation/overview-manual/concepts.rst +++ b/documentation/overview-manual/concepts.rst | |||
| @@ -2004,6 +2004,15 @@ task output from the Shared State cache. | |||
| 2004 | the stability of the task's output hash. Therefore, the effectiveness | 2004 | the stability of the task's output hash. Therefore, the effectiveness |
| 2005 | of Hash Equivalence strongly depends on it. | 2005 | of Hash Equivalence strongly depends on it. |
| 2006 | 2006 | ||
| 2007 | Recipes that are not reproducible may have undesired behavior if hash | ||
| 2008 | equivalence is enabled, since the non-reproducible diverging output maybe be | ||
| 2009 | remapped to an older sstate object in the cache by the server. If a recipe | ||
| 2010 | is non-reproducible in trivial ways, such as different timestamps, this is | ||
| 2011 | likely not a problem. However recipes that have more dramatic changes (such | ||
| 2012 | as completely different file names) will likely outright fail since the | ||
| 2013 | downstream sstate objects are not actually equivalent to what was just | ||
| 2014 | built. | ||
| 2015 | |||
| 2007 | This applies to multiple scenarios: | 2016 | This applies to multiple scenarios: |
| 2008 | 2017 | ||
| 2009 | - A "trivial" change to a recipe that doesn't impact its generated output, | 2018 | - A "trivial" change to a recipe that doesn't impact its generated output, |
