简体   繁体   English

在yocto中建立元虚拟化层

[英]Building meta-virtualization layer in yocto

I am trying to add the meta-virtualization layer in my yocto project. 我正在尝试在yocto项目中添加元虚拟化层。 The layer depends on openembedded-core and multiple layers provided by meta-openembedded. 该层取决于openembedded-core和meta-openembedded提供的多层。 Following is the structure of my bblayers.conf file after adding the meta-virtualization layer and it's dependencies. 添加元虚拟化层及其依存关系后,以下是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 \
"

However, when I try to build docker present in the meta-virtualization layer, I encounter the following error 但是,当我尝试构建存在于元虚拟化层中的泊坞窗时,遇到以下错误

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

If I am not wrong, the current versions of the yocto project use openembedded as their build system. 如果我没看错,则yocto项目的当前版本将openembedded用作其构建系统。 So, is there any need to integrate the openembedded-core into my yocto project to add the meta-virtualization layer, or is it already present in the yocto project by default? 那么,有没有必要将openembedded-core集成到我的yocto项目中以添加元虚拟化层,或者默认情况下它已经存在于yocto项目中?

Short summary of the discussion: 讨论摘要:

  • Use the same release branch for all your layers (unless you really know what you do. 对所有图层使用相同的发布分支(除非您真的知道自己在做什么。

  • Check that all your layers are activated in bblayers.conf . 检查是否在bblayers.conf中激活了所有图层。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM