]> code.ossystems Code Review - openembedded-core.git/commit
insane.bbclass: add package specific skips to sstate hash
authorMichael Ho <Michael.Ho@bmw.de>
Thu, 29 Nov 2018 12:21:37 +0000 (14:21 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Dec 2018 17:09:12 +0000 (17:09 +0000)
commit8690332183f10a5e5689da7ec030567dfd1ac091
tree0ba0d003c1ca2d8bb78c5c988866e5b2eae30fef
parent9c2227d5d960f93e00791157354f0c920fbecf39
insane.bbclass: add package specific skips to sstate hash

The bbclass currently adds INSANE_SKIP to the sstate hash dependencies
however the package specific skips such as INSANE_SKIP_${PN} are
not added automatically because of how the class references them.

This causes the problem that modifying INSANE_SKIP_${PN} does not
invalidate the sstate cache and can mask build breaking warnings.

Add an anonymous python snippet to explicitly include these additional
relevant skips to the sstate hash.

Singed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass