diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-06 14:51:12 +0000 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-12-15 03:54:00 -1000 |
commit | 046b70083f3bc9e25f547e8026400032f5c563d9 (patch) | |
tree | 1b2931ca5a78a810f2cc34ff3c292fb56282c528 /documentation/conf.py | |
parent | 825972095a52ed5a6f67c044dc83df31ede19410 (diff) | |
download | poky-046b70083f3bc9e25f547e8026400032f5c563d9.tar.gz |
sstate: Ensure sstate searches update file mtime
Commands like "bitbake XXX -S printdiff" search for sstate files but don't download
them. This means that local files aren't touched as the download code would do, meaning
the sstate cleanup scripts can delete them. This can then lead to obtuse build failures.
Have the search code touch local files in the same way as the main code paths would to
avoid these files disappearing.
Move the function to a common touch() function in lib/oe instead of duplicating code.
(From OE-Core rev: 427c43d8e3315fa6872feaa71d135de60c810de7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a27fc0bd5706ab5b9c68a0271fcf57377a678cdf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/conf.py')
0 files changed, 0 insertions, 0 deletions