代码之家  ›  专栏  ›  技术社区  ›  shery6405

在yocto中构建元虚拟化层

  •  1
  • shery6405  · 技术社区  · 9 年前

    我正试图在我的yocto项目中添加元虚拟化层。该层依赖于openembedded核心和meta OpenEmbed提供的多个层。下面是我的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中?

    1 回复  |  直到 9 年前
        1
  •  2
  •   Anders    9 年前

    讨论简要总结:

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

    • 检查所有图层是否在中激活 bblayers.conf .

    推荐文章