当我想为intel Galileo构建一个yocto图像时, 我按照网站上提到的这些说明进行了操作
当我尝试执行命令
时$ bitbake iot-devkit-prof-dev-image
我正在
=============================================================================
ERROR: Unable to parse /home/iotdk/meta-oe/meta-oe/conf/layer.conf: file /home/iotdk/meta-oe/meta-oe/conf/layer.conf not found
intel1@intel1-All-Series:~/iotdk/meta/recipes-core/os-release/build$ bitbake iot-devkit-prof-dev-image
ERROR: Traceback (most recent call last):
File "/home/intel1/iotdk/bitbake/lib/bb/cookerdata.py", line 174, in wrapped
return func(fn, *args)
File "/home/intel1/iotdk/bitbake/lib/bb/cookerdata.py", line 184, in parse_config_file
return bb.parse.handle(fn, data, include)
File "/home/intel1/iotdk/bitbake/lib/bb/parse/__init__.py", line 107, in handle
return h['handle'](fn, data, include)
File "/home/intel1/iotdk/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 120, in handle
abs_fn = resolve_file(fn, data)
File "/home/intel1/iotdk/bitbake/lib/bb/parse/__init__.py", line 130, in resolve_file
raise IOError("file %s not found" % fn)
IOError: file /home/iotdk/meta-oe/meta-oe/conf/layer.conf not found
ERROR: Unable to parse /home/iotdk/meta-oe/meta-oe/conf/layer.conf: file /home/iotdk/meta-oe/meta-oe/conf/layer.conf not found
================================================================
答案 0 :(得分:1)
在conf/bblayers.conf
中检查您的meta-oe路径。 meta-oe的层路径应该类似于
/home/intel1/iotdk/meta-oe/meta-oe \
我认为你在intel1
之后错过了/home/
。
答案 1 :(得分:0)
当你添加bblayers.conf的路径时,你应该在反斜杠()之前的路径末尾给出一些空格 示例路径:\ home \ Downloads \ poky \ meta-intel \