【问题标题】:Specifying prior recipe using PREFERRED_VERSION doesn't work in Yocto bitbake?使用 PREFERRED_VERSION 指定先前的配方在 Yocto bitbake 中不起作用?
【发布时间】:2021-10-04 23:29:15
【问题描述】:

我正在研究 Yocto bitbake。 如果一个组件有多个配方,我发现在 conf/local.conf 中使用“PREFERRED_VERSION”指令指定配方。

我正在使用“Rocko”,并且想选择 openssl 的“1.1.0”版本,因此我将下面的行附加到 conf/local.conf。

PREFERRED_VERSION_openssl = "1.1.%"

但是,它看起来不起作用,并且构建了 openssl-1.0.2。 有谁知道出了什么问题?谢谢。

【问题讨论】:

    标签: yocto recipe


    【解决方案1】:
    PREFERRED_VERSION_openssl_forcevariable = "1.1.%"
    

    【讨论】:

    • 感谢您的快速回答!我是这样弄的。
    猜你喜欢
    • 1970-01-01
    • 2021-06-10
    • 2020-07-05
    • 2021-01-04
    • 2019-11-19
    • 2015-01-01
    • 2020-05-28
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多