[oe] [PATCH] sanity.bbclass: Barf if TMPDIR has trailing forward slash

Phil Blundell philb at gnu.org
Wed May 26 10:26:21 UTC 2010


On Wed, 2010-05-26 at 02:12 -0700, Khem Raj wrote:
> Yes I thought about it but did not know where to start.
> I guess that would be bitbake which has to quickly remove the trailing
> space just after parsing
> in TMPDIR before it gets expanded into other parts of metadata. would
> it be OK for bitbake to treat TMPDIR special ? or may be bitbake
> should just get rid of more than one slashes in dir paths as a whole.
> when concatenating two paths it should merge the slashes may be.

I'm not sure that bitbake itself ought to be taking any special action.
Which piece of code is it that chokes on the extra slashes, exactly?
Can that not be fixed?  POSIX is fairly clear that multiple slashes are
allowed in pathnames so anything that doesn't work with them seems like
it must be broken.

p.






More information about the Openembedded-devel mailing list