sstate: Add optimisation for useradd injected dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Jan 2013 14:28:31 +0000 (14:28 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jan 2013 12:42:48 +0000 (12:42 +0000)
commite2f6e7fc4916df3ca0c168df0f8fcf08e1cc0447
treecf27a21da63a1f793da7c272effe18c05574996c
parentce9a1422c06dfd1eb97e1a65211de592cf086805
sstate: Add optimisation for useradd injected dependencies

useradd.bbclass adds sstate dependencies on base-passwd, shadow-native and
shadow-sysroot. Due to the way these are injected, they interact badly with
the other dependency validation logic and end up pulling in dependencies we
don't actually need. This patch adds code to optimise those cases out.

(From OE-Core rev: 784ca68fcca4ffb34390d55d9343570cfdf0305f)

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