sstate: Drop 'SafeDep' code from setscene validation function
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Feb 2014 15:10:49 +0000 (15:10 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Feb 2014 08:01:09 +0000 (08:01 +0000)
commitf38a80bfa7ef47bd3ca638be13c06406acb2135a
tree9e946f1ed53fcff0f709cc799707b270c25c109b
parent8620fa8b46f1f0998785a2cf0926abfe814ef96c
sstate: Drop 'SafeDep' code from setscene validation function

I have a feeling this code exists from the time before we had proper
coverage of one sstate task by another task. At that time it was a
"poor" persons version of that idea, we now have much better
code internal to bitbake which handles this.

Worse, this code actually breaks certain rebuild scenarios,
e.g.:

bitbake libtool-cross
bitbake libtool-cross -c cleansstate
rm tmp -rf
bitbake libtool-cross

would fail as binutils-cross wasn't installed from sstate.

The easiest fix is to remove the obsolete/broken code.

[YOCTO #5773]

(From OE-Core rev: ccad07f35fb7f959e24fd50d04c7d10dd5cf20d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass