如何覆盖 bitbake 文件冲突

时间:2021-01-21 22:14:29

标签: yocto rpm bitbake

正在研究几个与基本包有文件冲突的配方。我正在尝试找出如何强制覆盖冲突。特别是我正在用我的配方中的自定义文件覆盖 /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

1 个答案:

答案 0 :(得分:1)

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

相关问题