我有一个可以成功构建的 Yocto bitbake 图像配方。
但是,使用命令生成 SDK 时,相同的图像配方会失败-c populate_sdk。
该错误似乎是由混合 32 位和 64 位版本的库引起的,这在仅使用二进制文件构建映像时没问题,但在填充 SDK 根文件系统时头文件会相互冲突:
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
Run Code Online (Sandbox Code Playgroud)
-c populate_sdk在不将 32 位版本的库(配方)从生产映像中完全排除的情况下,排除它们的最佳方法是什么?