我正在尝试构建 Yocto linux 映像。我正在遵循 Sergey 的博客中给出的过程。解压文件:
$ 7z x Board_Support_Package_Sources_for_Intel_Quark_v0.7.5.7z
解压 meta-clanton_v0.7.5.tar.gz:
$ tar xzvf Board_Support_Package_Sources_for_Intel_Quark_v0.7.5/meta-clanton_v0.7.5.tar.gz
将目录更改为 meta-clanton_v0.7.5:
$ cd meta-clanton_v0.7.5
运行 setup.sh:
$ ./setup.sh
源 poky/oe-init-build-env 脚本,将构建目录 (yocto_build) 作为参数提供给它:
$ source poky/oe-init-build-env yocto_build
运行 bitbake 构建镜像:
$ bitbake image-full
但我收到以下错误:
Traceback (most recent call last):
File "/usr/bin/bitbake", line 275, in <module>
ret = main()
File "/usr/bin/bitbake", line 222, in main
bb.msg.init_msgconfig(configuration.verbose, configuration.debug,
AttributeError: 'module' object has no attribute 'init_msgconfig'
请帮忙。提前致谢。