]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 May 2012 07:34:50 +0000 (08:34 +0100)
commit71142172efc0f44a50216550c2b6cc3094fdc21d
treee5ad6ac7605abac73b53606a572b50f3f5dde304
parenteaeb1ffac653d0eb291480c3a72ab6d885f4ae1a
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