]> code.ossystems Code Review - openembedded-core.git/commit
insane.bbclass: Enhance file-rdeps QA check
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>
Thu, 9 Apr 2015 21:55:58 +0000 (16:55 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Apr 2015 21:28:32 +0000 (22:28 +0100)
commit9946909dc95c3274a98112cf786d171547b3ed75
treec8b1fb4601d44728d783ebeb63ba581897209511
parentac09a1830fffb6aded499ade55c039e35202867e
insane.bbclass: Enhance file-rdeps QA check

Adds symlink-to-sysroot check to QA_WARN to detect symlinks that
point to locations under TMPDIR, which are most likely broken.

Changes filerdepends from set() to dict(), hence methods for adding
or deleting items had to change too. Now it keeps track of key:value
relationship, flags the QA issue; warning the user about which
file/package causes the problem, making it easier to debug.

[YOCTO #7126]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass