Ubuntu 22.04.2 LTS.我正在尝试从Jenkins作业执行bitbake <image>
。构建失败,错误为:
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Your Python 3 is not a full install. Please install the module distutils.sysconfig (see the Getting Started guide for further information).
我试图安装distutils
模块(尝试了here的方法),但遇到了无法修复的依赖性问题,因此作为替代解决方案,我想禁用健全性检查
这是sanity.conf
目前的样子:
# Sanity checks for common user misconfigurations
#
# See sanity.bbclass
#
# Expert users can confirm their sanity with "touch conf/sanity.conf"
BB_MIN_VERSION = "1.46.0"
SANITY_ABIFILE = "${TMPDIR}/abi_version"
SANITY_VERSION ?= "1"
LOCALCONF_VERSION ?= "1"
LAYER_CONF_VERSION ?= "7"
SITE_CONF_VERSION ?= "1"
INHERIT += "sanity"
那么如何更新sanity.conf
来禁用健全检查器呢?
1条答案
按热度按时间qvtsj1bj1#
正如注解中所详细说明的,不建议禁用健全性检查,除非您准备好面对错误并自行修复它们。
在您的
local.conf
或环境中任何其他合适的.conf
文件中,添加: