[OE-core] any current standard on avoiding use of both "_append" and "+="?
Robert P. J. Day
rpjday at crashcourse.ca
Mon Jul 23 10:15:16 UTC 2012
On Mon, 23 Jul 2012, Paul Eggleton wrote:
> 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.
ah, quite so, i failed to notice that.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Openembedded-core
mailing list