尝试安装之间的Yocto冲突
许多安装文件之间存在冲突 我得到以下错误:尝试安装之间的Yocto冲突,yocto,openembedded,Yocto,Openembedded,许多安装文件之间存在冲突 我得到以下错误: Transaction Summary ================================================================================ Install 612 Packages Total size: 110 M Installed size: 403 M Downloading Packages: Running transaction check Transaction chec
Transaction Summary
================================================================================
Install 612 Packages
Total size: 110 M Installed size: 403 M Downloading Packages: Running
transaction check Transaction check succeeded. Running transaction
test Error: Transaction check error: file /etc/iproute2/rt_protos
conflicts between attempted installs of
base-files-3.0.14-r89.nexbox_a95x_s905x and iproute2-4.14.1-r0.aarch64
file /etc/iproute2/rt_tables conflicts between attempted installs of
base-files-3.0.14-r89.nexbox_a95x_s905x and iproute2-4.14.1-r0.aarch64
file /etc/sysctl.conf conflicts between attempted installs of
base-files-3.0.14-r89.nexbox_a95x_s905x and procps-3.3.12-r0.aarch64
Error Summary
-------------
ERROR: amlogic-image-headless-sd-1.0-r0 do_rootfs: Function failed:
do_rootfs ERROR: Logfile of failure stored in:
/home/user/amlogic-bsp/build/tmp/work/nexbox_a95x_s905x-poky-linux/amlogic-image-headless-sd/1.0-r0/temp/log.do_rootfs.29264
ERROR: Task
(/home/user/amlogic-bsp/meta-meson/recipes-core/images/amlogic-image-headless-sd.bb:do_rootfs)
failed with exit code '1' NOTE: Tasks Summary: Attempted 3131 tasks of
which 3130 didn't need to be rerun and 1 failed.
我在某个地方见过我应该固定一个文件,但是我该怎么做呢?我找不到一个教程或任何关于这意味着什么的参考
我也得到以下警告。这有关系吗
WARNING: Layer meson should set LAYERSERIES_COMPAT_meson in its
conf/layer.conf file to list the core layer names it is compatible
with.
我刚从OpenWRT过来
对于bitbake,我为以下包添加了层:
meta-openwrt:-openwrt的OE/Yocto元数据层
superna9999/元介子:-上游Linux Amlogic介子Yocto/开放嵌入层
并尝试编译
nexbox-a95x-s905x
image我认为问题在于/etc/iproute2/rt_protos是由来自meta openwrt的基本文件以及来自其他OE层的iproute2包提供的。图像生成器不清楚使用哪一个,因此会产生冲突
您可以通过在meta openwrt中定义一个iproute2_u2;%.bbappend文件来解决这个问题,该文件将从iproute2包中删除,并且首选openwrt提供的文件
do_install_append() {
rm -rf ${D}${sysconfdir}/iproute2/rt_protos
}
应该会有帮助。谢谢你,Khem,我已经做了,但仍然不起作用。我已将删除脚本添加到./meta-openwrt/recipes-tweaks/iproute2/iproute2.%.bbappend和./meta-openwrt/recipes-tweaks/base-files/iproute2.%.bbappend和./meta-openwrt/recipes-tweaks/base-files.%.bbappend我还尝试将rm-rf${D}${sysconfdir}/iproute2/rt_-protos更改为rm-rf${STMP}/etc/iproute2/rt_protos,查看这是否会改变位置。我也把它放在了忙碌的盒子里。谢谢你,凯姆,这对我很有效。我对lighttpd conf文件也有同样的问题。这是你第二次救我了。