[OE-core] any current standard on avoiding use of both "_append" and "+="?
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Jul 23 10:12:29 UTC 2012
On Monday 23 July 2012 06:07:58 Robert P. J. Day wrote:
> is this valid?
>
> meta/classes/rootfs_rpm.bbclass:IMAGE_ROOTFS_EXTRA_SPACE_append =
> "${@base_contains("PACKAGE_INSTALL", "zypper", " + 51200", "" ,d)}"
>
> does one not need the leading space in this context?
We're not adding to something that is space-separated in this instance. In any
case, if we are adding anything with this statement (i.e. if PACKAGE_INSTALL
contains "zypper") then " + 51200" is being added which does contain a leading
space.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list