poky/bitbake/lib
Richard Purdie 2af7a635be bitbake: parse: Improve/fix cache invalidation via mtime
We have been seeing obscure failures in devtool, particularly on newer
autobuilder workers where it appears the cache is assumed to be valid
when it shouldn't be.

We're using the 'seconds' granulation mtime field which is not really
a good way of telling if a file has changed. We can switch to the "ns"
version which is better however also add in inode number and size as
precautions. We already have all this data and tuples are fast so there
isn't really any cost to do so.

This hopefully fixes [YOCTO #15318].

(Bitbake rev: 5a90927f31c4f9fccbe5d9d07d08e6e69485baa8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d9e5d313c79500e3c70ab9c3239b6b2180194f67)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-29 05:24:08 -07:00
..
bb bitbake: parse: Improve/fix cache invalidation via mtime 2024-05-29 05:24:08 -07:00
bblayers bitbake: bitbake: Add copyright headers where missing 2022-10-11 21:57:28 +01:00
bs4 bitbake: bitbake/lib/bs4/tests/test_tree.py: python 3.12 regex 2024-03-01 08:00:58 -10:00
hashserv bitbake: hashserv: Improve behaviour for better determinism/sstate reuse 2021-10-11 11:00:06 +01:00
layerindexlib bitbake: lib: Replace remaining "blacklist"/"whitelist" usage 2022-02-21 23:37:26 +00:00
ply bitbake: utils/ply: Update md5 to better report errors with hashlib 2023-02-17 15:05:08 +00:00
progressbar
prserv bitbake: asyncrpc: Add context manager API 2024-01-10 05:14:16 -10:00
simplediff
toaster bitbake: toaster/toastergui: Bug-fix verify given layer path only if import/add local layer 2024-02-07 03:30:05 -10:00
codegen.py bitbake: codegen: implement ast.NodeVisitor.visit_Constant 2021-10-14 22:37:43 +01:00
pyinotify.py bitbake: pyinotify.py: Simplify identification of which event has occurred 2022-04-14 09:48:33 +01:00