[bitbake-devel] Broken SRC_URI handling

Richard Purdie richard.purdie at linuxfoundation.org
Mon Nov 26 21:21:23 UTC 2012


On Mon, 2012-11-26 at 16:45 +0100, Enrico Scholz wrote:
> Hi,
> 
> commit 07b5f84133ac79aac4e939ea5f24390ad7f940a5 introduced a regression
> with
> 
> | +            if not newpath or not os.path.exists(newpath) and path.find("*") != -1:
> 
> 
> When an SRC_URI element is not found, some directory in the search path
> is copied insted.
> 
> There should be probably added some parentheses in the expression above.
> At the moment, the 'A or B and C' above is interpreted as 'A or (B and
> C)' due to operator precedences.

I just pushed a fix for this before I read this email! We reached the
same conclusion so it should be fixed in master now :)

Cheers,

Richard





More information about the bitbake-devel mailing list