[OE-core] [PATCH 1/1] sanity.bbclass: check for validity of TMPDIR
Mark Hatle
mark.hatle at windriver.com
Thu Nov 14 15:49:45 UTC 2013
On 11/14/13, 7:42 AM, Phil Blundell wrote:
> On Thu, 2013-11-14 at 06:27 -0700, Gary Thomas wrote:
>> Also, is "-" actually valid? I seem to recall having problems when my build
>> tree had the hyphen ("-") in the path.
>
> Paths with "-" in certainly work for me. If there are any recipes which
> break in that situation then we should just fix them.
We found an issue with paths that -start- with a '-', there are apparently many
places where paths are passed into various shell, and the initial '-' can be
read as an argument identifier.
> OE already has quite a range of baroque restrictions on what sort of
> TMPDIR you are allowed to use (no nfs, no symlinks in the path, no
> spaces in the name) and every new prohibition represents a loss in
> usability. This patch as proposed already forbids a whole range of
> characters, including things like "+", and I think that disallowing "-"
> as well would be a step too far.
I don't believe Qi Chen sent it to the list, but we built path names with all of
the special characters and tried to run builds. The specific list is based on
the results of those tests. The other items are already broken, and we're
trying to be explicit with this for end users. (Note, it's really the TMPDIR
that matters.. the 'build' directory is a lot more flexible.)
--Mark
> p.
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
More information about the Openembedded-core
mailing list