[bitbake-devel] question about BBVERSIONS OVERRIDES and PREFERRED_VERSION

张忠山 zzs213 at 126.com
Thu Aug 25 12:25:42 UTC 2016


>> But, I'm not sure this work for other env.
>>
>> I don't know why just lower case override permited in  this function.
>>
>> Version string just include digit and point is very common, but
>> islower() return False for these strings.
>>
>> This behavior is intended or a bug?
>> Or has another way to solve my problem?
>
> There was a discussion a while ago and we decided to only have bitbake
> accept lower case overrides. I believe that the numeric piece isn't an
> issue but the decimal point character probably is.
>
> The reason for this was to try and avoid some of the performance costs
> where any variable with a "_" in the name was potentially an override
> character and this was costly for variable processing.
>

So, that's said I can't use override based upon version string just like 
'1.1.7'

If it is true, Does it means  'BBVERSIONS' has no sense?

I can't believe that  widly used version string format  can't be used as 
override!





More information about the bitbake-devel mailing list