将net-snmp软件包添加到poky yocto失败

时间:2018-12-07 13:27:29

标签: yocto bitbake net-snmp openembedded

我无法将net-snmp软件包添加到我的krogoth 2.1版本中。通过编辑conf / local.conf并将它们添加到CORE_IMAGE_EXTRA_INSTALL行中,我已经成功添加了一些额外的软件包,例如rpm和gdb,但是我无法使“ net-snmp”正常工作。当我这样做时,出现如下错误:

[build]$ bitbake core-image-full-cmdline ERROR: Traceback (most recent call last): File "/work/poky.git-krogoth-2_1/bitbake/lib/bb/cookerdata.py", line 179, in wrapped return func(fn, *args) File "/work/poky.git-krogoth-2_1/bitbake/lib/bb/cookerdata.py", line 203, in parse_config_file return bb.parse.handle(fn, data, include) File "/work/poky.git-krogoth-2_1/bitbake/lib/bb/parse/__init__.py", line 113, in handle return h['handle'](fn, data, include) File "/work/poky.git-krogoth-2_1/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 124, in handle abs_fn = resolve_file(fn, data) File "/work/poky.git-krogoth-2_1/bitbake/lib/bb/parse/__init__.py", line 136, in resolve_file raise IOError(errno.ENOENT, "file %s not found" % fn) IOError: [Errno 2] file /work/poky.git-krogoth-2_1/meta-networking/conf/layer.conf not found ERROR: Unable to parse /work/poky.git-krogoth-2_1/meta-networking/conf/layer.conf: [Errno 2] file /work/poky.git-krogoth-2_1/meta-networking/conf/layer.conf not found

该错误似乎表明它无法找到元网络层。所以我想最终我的问题是如何将这一层添加到Poky系统中。我在查找有关可下载该层的资源方面遇到了麻烦,因此将不胜感激!

2 个答案:

答案 0 :(得分:0)

在此之上下载'meta-openembeded-master'层的krogoth版本

答案 1 :(得分:0)

通过获取meta-openembedded的krogoth版本并将元网络层添加到conf / bblayers.conf中来解决此问题。