Copyright 2016 RDK Management, LLC. All rights reserved. The contents of this document are RDK Management, LLC Proprietary and Confidential and may not be distributed or otherwise disclosed without prior written permission of RDK Management, LLC.
Recommending to use dunfell build going forward. |
NOTE: Observing fetch errors in VMs with Ubuntu14.x. Thus, suggesting to use VMs with Ubuntu16.x or higher.
Note: Cloning the code before login once to code.rdkcentral.com, user would get the Authentication error, even though the account is in good standing and has all the required access. Please login to code.rdkcentral.com before attempting to clone. |
Create workspace directory
mkdir <workspace dir> cd <workspace dir> |
Follow below instructions to create build with external sources
repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-turris-extsrc.xml -b rdk-next repo sync -j4 --no-clone-bundle MACHINE=turris source meta-turris/setup-environment bitbake rdk-generic-broadband-image |
Else, follow below instructions to create build with no external source
repo init -u https://code.rdkcentral.com/r/manifests -m rdkb-turris-nosrc.xml -b rdk-next repo sync -j4 --no-clone-bundle MACHINE=turris source meta-turris/setup-environment bitbake rdk-generic-broadband-image |
Note: The kernel Image and root filesystem will be placed under <workspace dir>/build-turris/tmp/deploy/images/turris folder
Note: MACHINE=turris is for Residential Gateway; For building image for Extender device, follow Extender Profile: Yocto Build Instructions