我有一个Yocto bitbake镜像配方,可以成功构建。
然而,当使用
错误似乎是由混合32位和64位库版本引起的,在只构建二进制映像时这没问题,但在填充SDK根文件系统时,头文件互相冲突。
然而,当使用
-c populate_sdk
命令生成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
在执行-c populate_sdk
时,如何最好地排除32位版本的库(recipes),而不会完全从生产镜像中排除它们?