[bitbake-devel] [PATCH v2] fetcher: fix BB_STRICT_CHECKSUM datatype check
Alejandro Hernandez
alejandro.hernandez at linux.intel.com
Thu Oct 9 20:38:54 UTC 2014
That is very true, I will fix that, thanks for pointing it out.
On 09/10/14 15:27, Christopher Larson wrote:
>
> On Thu, Oct 9, 2014 at 1:22 PM, Alejandro Hernandez
> <alejandro.hernandez at linux.intel.com
> <mailto:alejandro.hernandez at linux.intel.com>> wrote:
>
> It does not change behavior but it forces the value to be a
> string, avoiding related problems when performing comparisons on
> "strict", another option as Richard Purdie suggested would be to
> import the boolean function from /meta/lib/oe/types.py in OE-Core
> into a new types module in bitbake, forcing it to get a "good"
> value that we could then use.
>
>
> No, that's incorrect. The second argument of getVar is a boolean
> argument named 'expand', which controls whether you get an expanded or
> unexpanded value. You're now passing a string in boolean context.
> --
> Christopher Larson
> clarson at kergoth dot com
> Founder - BitBake, OpenEmbedded, OpenZaurus
> Maintainer - Tslib
> Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20141009/986a8302/attachment-0001.html>
More information about the bitbake-devel
mailing list