参考文档repo工具介绍
https://blog.csdn.net/chenjinlong126/article/details/79114468
yocto 官方提供的路径如下
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
大家都知道这个路径需要翻墙,于是找了这个路径
curl http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo > /opt/yocto/bin/repo
最近我发现这个路径也不行了,翻墙又太麻烦。在此提供第二种方法,大家需要了解一下repo其实只是文本,用来引导下载。
具体步骤如下
git clone git://git.omapzoom.org/git-repo.git
git clone git://aosp.tuna.tsinghua.edu.cn/android/git-repo.git/
(以上两个路径随便选一个)
cp git-repo/repo ~/bin/repo
修改repo文件 vim repo
REPO_URL = 'git://git.omapzoom.org/git-repo.git'
将repo 文件的REPO_URL 改成这个路径。
然后便可正常使用repo 进行yocto 后面的步骤。