user45573
user45573

Reputation: 69

Specifying prior recipe using PREFERRED_VERSION doesn't work in Yocto bitbake?

I'm working on Yocto bitbake. I found that once can specify the recipe using PREFERRED_VERSION directive in conf/local.conf, if there are multiple recipes for the same component.

I'm using "Rocko", and want to select version "1.1.0" of openssl so I appended the line below to conf/local.conf.

PREFERRED_VERSION_openssl = "1.1.%"

But, it looks that it doesn't work and openssl-1.0.2 was built. Does anyone have an idea what is wrong?

Thanks.

Upvotes: 3

Views: 7504

Answers (1)

Oleksandr Kravchuk
Oleksandr Kravchuk

Reputation: 6327

PREFERRED_VERSION_openssl_forcevariable = "1.1.%"

Upvotes: 3

Related Questions