[bitbake-devel] howto build specific version package

Khem Raj raj.khem at gmail.com
Fri Aug 5 14:29:59 UTC 2016



On 8/2/16 7:29 AM, zzs wrote:
> Hello, everyone
> 
> I have two version .bb recipe, sya test_1.0.bb and test_2.0.bb.
> When build the `test` package  using the flowwing cmd:
>     bitbake test
> Always 2.0 was built.
> My question is: how to let bitbake to build version 1.0 of the test package
> 

You can add PREFERRED_VERSION_pn-test = "1.0" in local.conf
or you can add DEFAULT_PREFERENCE = "-1" to test_2.0.bb


> 
>  
> 
> 
> 



More information about the bitbake-devel mailing list