]> code.ossystems Code Review - openembedded-core.git/commit
packagedata: Fix to ensure variables expand correctly
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Jun 2015 22:06:56 +0000 (23:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 Jun 2015 13:20:17 +0000 (14:20 +0100)
commit45b368427accf6d519078812d5335ec250bacef8
treeacfa3cdadc8c4fa694bbfdfa245d7a8ec0c56ecc
parent8f3be1925b9da20526a722149b03f697247ea1bf
packagedata: Fix to ensure variables expand correctly

If we set unsuffixed variables here there is a chance they could clobber
override versions of that variable, e.g. DESCRIPTION could clobber
DESCRIPTION_<pkgname>. We therefore don't clobber for the unsuffixed
variable versions by using the parsing flag to setVar.

This becomes a problem with the modifications to bitbake to
have continual expansion of the datastore, its about the one place this
turns out to be problematic.

The parameter to setVar works with current bitbake even though
we don't have the new API since it gets swallowed by the logging code.

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