在yocto中建立元虚拟化层 [英] Building meta-virtualization layer in yocto

查看:243
本文介绍了在yocto中建立元虚拟化层的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am trying to add the meta-virtualization layer in my yocto project. The layer depends on openembedded-core and multiple layers provided by meta-openembedded. Following is the structure of my bblayers.conf file after adding the meta-virtualization layer and it's dependencies.

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时,遇到以下错误

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

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

If I am not wrong, the current versions of the yocto project use openembedded as their build system. 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?

推荐答案

简短的讨论摘要:


  • 对所有图层使用相同的发行分支(除非您真的知道自己的工作。

检查在 bblayers.conf 中激活了所有图层。

Check that all your layers are activated in bblayers.conf.

这篇关于在yocto中建立元虚拟化层的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆