diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-25 15:48:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-30 17:44:06 -0700 |
commit | 59260f952f8687ac67a17035307c6c0792728f1b (patch) | |
tree | 75a6f3150da489c715cf77a92e60e82e45d3b0ad /scripts/relocate_sdk.py | |
parent | cfb502cc2b2ba39b1b6f970b2410190cca2ba0fc (diff) | |
download | poky-59260f952f8687ac67a17035307c6c0792728f1b.tar.gz |
sstate.bbclass: Detect overwriting files in sstate controlled directories
We have a potential problem where two sstate packages try and touch the same
file. This adds code which will print a warning whenever this happens.
The implementation does but by maintaining a master file list and comparing
file accesses against this. There are a number of places we have duplicate
accesses which are harmless, mostly in the deploy directory so these
are whitelisted.
For now the code prints warnings, this could be strengthened in future to
become error messages. Whilst working on this code on and off over the past
few months various issues were uncovered, some serious.
[YOCTO #238]
(From OE-Core rev: 1f1b6f93d6b7aa8c9bd9bb5b1826997812e36932)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/relocate_sdk.py')
0 files changed, 0 insertions, 0 deletions