【发布时间】:2022-12-11 04:16:06
【问题描述】:
全部。
在我使用 devtool-modify 编辑我的食谱后,当我对图像进行 bitbake 时,发生了一些错误。
ExpansionError: Failure expanding variable do_compile\[file-checksums\], expression was ${@srctree_hash_files(d)} which triggered exception
CalledProcessError: Command '\['git', 'submodule--helper', 'list'\]' returned non-zero exit status 128.
失败的变量依赖链是:do_compile\[file-checksums\]
11111111111111111111111111111111111
【问题讨论】:
-
问题不清楚,可以附上菜谱内容吗?
-
我也有同样的问题。你找到任何解决方案了吗?
-
@TalelBELHADJSALEM 它与配方文件或 bbappend 文件无关。如果您没有任何 bbappend 文件,则 bitbake(或 devtool build)会编译一个配方。当你有一个 bbappend 文件时,它会引发这个 ExpansionError
-
好的,您可以添加
bbappend文件吗?另外,你能检查bitbake -e <recipe> | grep ^SRC_URI=的输出吗? -
我找到了。在文件
/sources/poky/meta/classes/externalsrc.bbclass下,从['git', 'submodule', 'list']更改为['git', 'submodule--helper', 'list']
标签: yocto