Setting up the Development Host
14
Zebra (VL-EPC-2701) Yocto Linux User Guide
Setting up the Repo Utility
Git is a version control system for tracking changes in source code files and coordinating work on
those files among multiple developers. 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, follow these steps:
1. Create a bin folder in the home directory.
$ mkdir ~/bin
$ curl http://commondatastorage.googleapis.com/git-repo-
downloads/repo > ~/bin/repo
$ sudo chmod a+x ~/bin/repo
2. Add the following line to the .bashrc file to ensure that the ~/bin folder is in your PATH
variable.
export PATH=~/bin:$PATH
3. Apply the new path to the current login session.
$ . ~/.bashrc