]> code.ossystems Code Review - openembedded-core.git/commit
sanity.bbclass: mention version when erroring on LCONF_VERSION mismatch
authorRoss Burton <ross.burton@intel.com>
Wed, 24 Jul 2013 11:54:46 +0000 (12:54 +0100)
committerSaul Wold <sgw@linux.intel.com>
Sun, 28 Jul 2013 06:28:24 +0000 (23:28 -0700)
commitda58843fd07dec43700a4c54ac469d1fda71aa50
tree4bc9a2e6d6812394caeedd522fe608d8a60e3131
parent8abe29811d9c5975fbd6483cb9c20b44904ae57f
sanity.bbclass: mention version when erroring on LCONF_VERSION mismatch

If someone is using a Poky release but not the Poky distribution they'll get a
bblayers.conf generated from meta-yocto's template with a LCONF_VERSION that
doesn't necessarily match LAYER_CONF_VERSION (default in sanity.conf), as Poky
overrides LAYER_CONF_VERSION to cater for the meta-yocto split.  The resulting
error message will tell them to compare bblayers.conf with bblayers.conf.sample,
but they're identical.

By explicitly refering to the required and actual versions this situation is
hopefully clearer.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/sanity.bbclass