在yocto中构建元虚拟化层



我正试图在我的yocto项目中添加元虚拟化层。该层依赖于openembedded核心和metaopenembeddeed提供的多个层。以下是添加元虚拟化层后我的bblayers.coff文件的结构及其依赖关系。

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核心集成到我的yocto项目中以添加元虚拟化层,或者它默认情况下已经存在于yocto中?

讨论的简短摘要:

  • 对所有层使用相同的发布分支(除非您真的知道自己在做什么。

  • 检查您的所有层是否已在bblayers.conf中激活。

相关内容

  • 没有找到相关文章

最新更新