]> code.ossystems Code Review - openembedded-core.git/commit
packagedata: Show error when trying to change PE/PV/PR from runtime/pkgdata
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Jun 2013 08:30:59 +0000 (08:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Jun 2013 09:01:22 +0000 (10:01 +0100)
commitf5252fea11e13dbcec1c277cf1bf0d7e61b60690
tree2910823681782ba24d2d0d8d641631a6bfbc4679
parent89c8493d4d85044cd72af2756569d15e87cd5947
packagedata: Show error when trying to change PE/PV/PR from runtime/pkgdata

PN/PE/PV/PR should never change between do_package and the following do_package_write_*
tasks. If any do change you would see build failure due to the wrong WORKDIR being
used for example.

This patch ensures that if something is going wrong we see the error earlier and
with some better warning about what the real problem is.

[YOCTO #4102 partial]

This is a rewritten version of a patch from Martin Jansa <martin.jansa@gmail.com>

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