]> code.ossystems Code Review - openembedded-core.git/commit
sstate.bbclass: Add ${PACKAGE_EXTRA_ARCHS} to SSTATE_ARCHS
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 6 Apr 2018 18:26:56 +0000 (20:26 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Apr 2018 21:47:01 +0000 (22:47 +0100)
commitb959b3bd92aa2939d407800fc4167b0535fd4674
tree0df3bc6af61bb85fa7af27f3cd63299b78a29a46
parent29e7799bdb3773c40492e01448e0c614ed44583d
sstate.bbclass: Add ${PACKAGE_EXTRA_ARCHS} to SSTATE_ARCHS

This makes sure files provided by packages that use any of the extra
architectures defined using ${PACKAGE_EXTRA_ARCHS} are cleaned from
tmp/sysroot-components when sstate_eventhandler2() executes.

Without this, changing a package from using one of the extra
architectures to another architecture would lead to files being
leftover in tmp/sysroot-components, which could later be picked up
when creating the RSS for another package rather than the files that
belonged to the updated package.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass