我正在尝试在yocto项目中添加元虚拟化层。该层取决于openembedded-core和meta-openembedded提供的多层。添加元虚拟化层及其依存关系后,以下是我的bblayers.conf文件的结构。

BBLAYERS ?= " \
/home/mshehery/Downloads/git/Yocto/poky/meta \
/home/mshehery/Downloads/git/Yocto/poky/meta-yocto \
/home/mshehery/Downloads/git/Yocto/poky/meta-yocto-bsp \
/home/mshehery/Downloads/git/Yocto/poky/meta-oe \
/home/mshehery/Downloads/git/Yocto/poky/meta-virtualization \
/home/mshehery/Downloads/git/Yocto/poky/meta-networking \
/home/mshehery/Downloads/git/Yocto/poky/meta-filesystems \
/home/mshehery/Downloads/git/Yocto/poky/meta-python \
"

但是,当我尝试构建存在于元虚拟化层中的 docker 时,遇到以下错误
WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |####################################################################################################################################################| ETA:  00:00:00
Loaded 1078 entries from dependency cache.
NOTE: Error during finalise of /home/mshehery/Downloads/git/Yocto/poky/meta-oe/recipes-devtools/tcltk/tk_8.6.6.bb                                                        | ETA:  --:--:--
ERROR: ParseError at /home/mshehery/Downloads/git/Yocto/poky/meta-oe/recipes-connectivity/libqmi/libqmi_1.16.0.bb:12: Could not inherit file classes/bash-completion.bbclass

如果我没看错,则yocto项目的当前版本将openembedded用作其构建系统。那么,有没有必要将openembedded-core集成到我的yocto项目中以添加元虚拟化层,或者默认情况下它已经存在于yocto项目中?

最佳答案

讨论摘要:

  • 对所有图层使用相同的发布分支(除非真的知道您的工作。)
  • 检查是否已在bblayers.conf中激活了所有图层。
  • 09-25 15:58