2

当我想为 intel Galileo 构建 yocto 映像时,我按照网站中提到的这些说明进行操作

https://software.intel.com/en-us/blogs/2015/03/04/creating-a-yocto-image-for-the-intel-galileo-board-using-split-layers

当我尝试执行命令时

$ 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
================================================================
4

2 回答 2

1

在您的conf/bblayers.conf. meta-oe 的层路径应该类似于

/home/intel1/iotdk/meta-oe/meta-oe \

我认为你在那条线intel1之后失踪/home/了。

于 2016-08-01T11:25:40.963 回答
0

当您将路径添加到 bblayers.conf 时,您应该在路径末尾的反斜杠 () 示例路径之前留出一些空间:\home\Downloads\poky\meta-intel \

于 2016-08-10T07:42:01.893 回答