]> code.ossystems Code Review - openembedded-core.git/commit
oe.sstatesig: align swspec handling with sstate.bbclass
authorChristopher Larson <kergoth@gmail.com>
Fri, 3 Apr 2015 22:03:05 +0000 (15:03 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Apr 2015 19:36:05 +0000 (20:36 +0100)
commitc9105597763be4bf5bc0ec97cc999566d0f10678
treee6178fe42a645826ffe0679e351fecf8d7da8f0c
parentc4ca9dbd4191fcff08e75035e3d276490ed80b05
oe.sstatesig: align swspec handling with sstate.bbclass

The logic tries to remove the -native suffix from pn to handle this (though it
doesn't succeed, as it doesn't assign the new pn to the variable), but we need
to do more for the swspec tasks than just not set the extrapath, we also need
to change from SSTATE_PKGSPEC to SSTATE_SWSPEC. Alter to correct the spec for
these cases, and also add preconfigure to align with the current logic in
sstate.bbclass, which includes that task as well in the list of tasks to
adjust to use swspec.

[YOCTO #7563]

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py