diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-16 16:51:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-16 23:25:55 +0100 |
commit | 92d8c7c5538cf170bdcc7733a58ec9be4449619c (patch) | |
tree | a1ca4101551f7fe9ec306dcf9e4cde6ff8d9af3b /scripts/lib/devtool/standard.py | |
parent | 4144a12c264b0dd3a09d83fecdc3d1ea348c8b05 (diff) | |
download | poky-92d8c7c5538cf170bdcc7733a58ec9be4449619c.tar.gz |
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: d9e5d313c79500e3c70ab9c3239b6b2180194f67)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
0 files changed, 0 insertions, 0 deletions