A tutorial to set up your environment and Download Source Code
The RDK-B code can be obtained from the CMF Gerrit instance using the
repo commands below :
$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2019q3 $ repo sync -j4 --no-clone-bundle
-m rdkb.xmlin the build sequence above is important. If this is not specified, you will get an RDK-V tree by default.
Note : The above commands illustrate how to access the specific CMF iteration (snapshot) RDK-B_2019Q3. Substitute the latest iteration currently available in RDK-B Releases page. If you want to get the very latest state of the code (i.e. current development), do not supply a branch, and rdk-next will be fetched:
$ repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b morty $ repo sync -j4 --no-clone-bundle
The first command will download the manifest, while the other command will fetch and checkout all the relevant git trees. Now you have a complete folder structure ready to build the RDK-B OpenEmbedded distro. The Manifest file (manifest.xml or default.xml) defines which repositories the project uses and links to appropriate revisions of each git repository. After completing "repo init", manifest files will be downloaded in ".repo/manifests/" path.
For other details on how to set up your Environment refer to Getting Started with the Code