]> code.ossystems Code Review - openembedded-core.git/commit
sstate.bbclass: make PV to depend on PV variable value
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 11 Jul 2016 09:43:09 +0000 (12:43 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:24:49 +0000 (10:24 +0100)
commit918646ca803d56004fb0ab7c21e86cc9cb14513d
treedaebc108ef265fca83fe94230108a2d9ecf96ce5
parent709c603dec19690bcf21034867b815b5679b921a
sstate.bbclass: make PV to depend on PV variable value

Currently PV is defined in meta/conf/bitbake.conf as a python
expression: "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE',
False),d)[1] or '1.0'}". As FILE is whitelisted it causes PV to
not depend on it. This causes sstate code to not detect that
PV changes when recipe filename changes.

Making PV to explicitly depend on PV variable value overrides default
behaviour. Instead of depending on python expression bitbake depends
on evaluated value of PV variable, which should fix the above
mentioned issue.

[YOCTO #9806]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/sstate.bbclass