Repo is a tool built on top of Git that makes it easier to manage projects that contain multiple repositories, which do not need
to be on the same server. Repo complements very well the layered nature of the Yocto Project, making it easier for users to
add their own layers to the BSP.
To install the “repo” utility, perform these steps:
- Create a bin folder in the home directory.
$ mkdir ~/bin (this step may not be needed if the bin folder already exists)
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
- Add the following line to the .bashrc file to ensure that the ~/bin folder is in your PATH variable.
export PATH=~/bin:$PATH
其中官方给出的地址需翻墙才能用,换成以下地址:
curl http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo > ~/bin/repo
本文介绍了一款基于Git的工具Repo,它简化了管理包含多个仓库的项目的流程,尤其适用于Yocto项目中添加自定义层。文章详细说明了Repo的安装步骤,包括创建bin文件夹、下载并配置Repo工具。
3079

被折叠的 条评论
为什么被折叠?



