问题描述
我正在研究 Yocto bitbake。 如果一个组件有多个配方,我发现可以在 conf/local.conf 中使用“PREFERRED_VERSION”指令指定配方。
我正在使用“Rocko”,并且想要选择 openssl 的“1.1.0”版本,以便将以下行附加到 conf/local.conf。
PREFERRED_VERSION_openssl = "1.1.%"
但是,看起来它不起作用,并且构建了 openssl-1.0.2。 有谁知道出了什么问题?谢谢。
解决方法
PREFERRED_VERSION_openssl_forcevariable = "1.1.%"