howto build specific version package
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
Quoted 8 lines · zzs
Hello, everyone
I have two version .bb recipe, sya test_1.0.bb and test_2.0.bb. When build the
testpackage 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
Put this line in your in local.conf:
PREFERRED_VERSION_test = "1.0"
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 8 lines · zzs
Hello, everyone
I have two version .bb recipe, sya test_1.0.bb and test_2.0.bb. When build the
testpackage 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