diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-22 14:07:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-07 11:18:38 +0100 |
commit | b5c5d84b8be27c611c1c21d5c13039a90977bbd4 (patch) | |
tree | 869961afb3b333395e1f4fbb9a9fd45f0be96dfb /scripts/install-buildtools | |
parent | 6bf90676038a7a6111bbfeaef2f73614c7206b9e (diff) | |
download | poky-b5c5d84b8be27c611c1c21d5c13039a90977bbd4.tar.gz |
pseudo: Ignore mismatched inodes from the db
Currently, where pseudo finds a database entry for an inode but the path
doesn't match, it reuses that database entry metadata. This is causing
real world "corruption" of file attributes.
See [YOCTO #14057] for an example of this.
This can happen when files are deleted outside of pseudo context and the
inode is reused by a new file which pseduo then "sees".
Its possible the opposite could happen, it needs to reuse attributes
but this change would prevent it. As far as I can tell, we don't want
pseuo to reuse these attributes though so this code should be safer
and avoid bugs like the above.
(From OE-Core rev: 1c13149b81e03a1ac48b27a208a139d5493c3ce7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/install-buildtools')
0 files changed, 0 insertions, 0 deletions