You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Host Environment


Requirement

Yocto 4.0 (Kirkstone)

Linux

64 bit Ubuntu 20.04 LTS

https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html

https://docs.yoctoproject.org/kirkstone/ref-manual/system-requirements.html

Free HDD Space

Minimum 100GB Free Memory

Host Tools version
  • Git 1.8.3.1 or greater

  • tar 1.28 or greater

  • Python 3.9.0 or greater.

  • gcc 10.1 or greater.

  • GNU make 4.0 or greater



Packages 

sudo apt install build-essential chrpath cpio debianutils diffstat file gawk gcc git iputils-ping libacl1 liblz4-tool locales python3 python3-git python3-jinja2 python3-pexpect python3-pip python3-subunit socat texinfo unzip wget xz-utils zstd

You also need to ensure you have the en_US.UTF-8 locale enabled:


locale --all-locales | grep en_US.utf8



Configure repo

In order to use Yocto build system, you need to ensure that repo is installed on the machine:

# create a bin directory
mkdir ~/bin
export PATH=~/bin:$PATH

# Download the repo tool and ensure that it is executable
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo



Configure Credentials

It is recommended to put credentials in a ~/.netrc

# RDK Central Github
machine github.com
    login <Public GitHub UserID>
    password <PAT>

# RDK Central Gerrit
machine code.rdkcentral.com
    login <RDK Central SSO email address>
    password <PAT> 


For GitHub to create a PAT navigate to Settings - Developer Settings - Personal access tokens - Tokens (classic)

Note: for git actions (clone/push/pr) you need to select at least the following scopes:

repo write:packages


Code Access


Source Code

Access RDK source code via Github or Gerrit


gerrit.png RDK Gerrit RDK Github

Code Contribution Process

Please refer to the "How to Contribute" guide to explore different ways that you can contribute to the RDK community.

  • No labels