gpt4 book ai didi

git - 如何在 Yocto 中递归地克隆一个带有子模块的 git repo

转载 作者:太空狗 更新时间:2023-10-29 13:30:36 25 4
gpt4 key购买 nike

有没有其他方法可以克隆 Bitbake 配方文件中的所有依赖文件夹(类似于使用递归标记)?我目前正在这样做:

SRC_URI="git://[uri_a];...;name=a \
git://[uri_b];...;destsuffix=git/a/b;name=b \
git://[uri_c];...;destsuffix=git/a/b/c;name=c"

其中“b”和“c”是“a”的子模块。

最佳答案

你有

gitsm:// 

你使用它的方式和它一样

git://

有关详细信息,您可以在此处阅读: http://www.yoctoproject.org/docs/latest/bitbake-user-manual/bitbake-user-manual.html#gitsm-fetcher

关于git - 如何在 Yocto 中递归地克隆一个带有子模块的 git repo,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37569941/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com