我有一个可以成功构建的Yocto bitbake图片配方。
但是,使用-c populate_sdk
命令生成SDK时,相同的图像配方会失败。
错误似乎是由于混合了32位和64位版本的库引起的,这在仅使用二进制文件构建映像时很好,但是在填充SDK根fs时头文件会相互冲突:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
file /usr/bin/curl-config from install of lib32-curl-dev-7.53.1-r0.cortexa7hf_neon_vfpv4 conflicts with file from package curl-dev-7.53.1-r0.aarch64
file /usr/include/nettle/version.h from install of lib32-nettle-dev-3.3-r0.cortexa7hf_neon_vfpv4 conflicts with file from package nettle-dev-3.3-r0.aarch64
file /usr/include/nettle/nettle-stdint.h from install of lib32-nettle-dev-3.3-r0.cortexa7hf_neon_vfpv4 conflicts with file from package nettle-dev-3.3-r0.aarch64
在进行-c populate_sdk
而不将其从生产映像中完全排除时,排除32位版本的库(食谱)的最佳方法是什么?