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 > > 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