【问题标题】:How to override bitbake file conflicts如何覆盖 bitbake 文件冲突
【发布时间】:2021-01-23 01:31:31
【问题描述】:

正在处理与基本包有文件冲突的几个配方。我试图弄清楚如何强制覆盖冲突。特别是我正在用我的配方中的自定义文件覆盖 /etc/network/interfaces 文件。如何告诉 bitbake 我的包中的文件优先于基础包中的文件?

我在构建环境中使用 RPM 作为包管理子系统。

Running transaction test
Error: Transaction check error:
  file /etc/network/interfaces conflicts between attempted installs of router-1.0-r0.noarch and init-ifupdown-1.0-r7.qemuarm64
  file /etc/udhcpc.d/50default conflicts between attempted installs of router-1.0-r0.noarch and busybox-udhcpc-1.24.1-r0.aarch64

【问题讨论】:

    标签: yocto rpm bitbake


    【解决方案1】:

    你不能。要么不安装冲突中的软件包之一,要么用 bbappend 覆盖原始配方的文件。

    【讨论】:

    • 我试试看。谢谢。
    猜你喜欢
    • 1970-01-01
    • 2017-01-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-03-12
    • 2021-09-21
    • 1970-01-01
    • 2012-12-24
    相关资源
    最近更新 更多