]> code.ossystems Code Review - openembedded-core.git/commit
sanity.bbclass: copy the data store and finalise before running checks
authorJoshua Lock <josh@linux.intel.com>
Wed, 23 May 2012 22:16:19 +0000 (15:16 -0700)
committerScott Garman <scott.a.garman@intel.com>
Tue, 12 Jun 2012 20:29:29 +0000 (13:29 -0700)
commit527e26ea1e44f114fc9fcec1bc7d83156dba1a70
treebb2c7a5b25350f6099a4b0122152c15e6399cd4a
parent23b7d7dab475caca4558e3b20db534122bee1525
sanity.bbclass: copy the data store and finalise before running checks

At the ConfigParsed event the datastore has yet to be finalised and thus
appends and overrides have not been set.
To ensure the sanity check is being run against the configuration values
the user has set call finalize() on a copy of the datastore and pass that
for all sanity checks.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
meta/classes/sanity.bbclass