[bitbake-devel] [PATCH v2] fetcher: fix BB_STRICT_CHECKSUM datatype check

Christopher Larson clarson at kergoth.com
Thu Oct 9 20:27:21 UTC 2014


On Thu, Oct 9, 2014 at 1:22 PM, Alejandro Hernandez <
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/dd008cc2/attachment-0002.html>


More information about the bitbake-devel mailing list