[OE-core] [PATCH 1/1] sanity.bbclass: check for validity of TMPDIR
Gary Thomas
gary at mlbassoc.com
Thu Nov 14 13:50:27 UTC 2013
On 2013-11-14 06:42, 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.
>
> 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.
Fair enough. I don't recall exactly what problems I had (in the dark
past), but I've just avoided trees with "-" in them. I'll give it
another look if/when an opportunity comes by.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the Openembedded-core
mailing list