For more information, including FAQs and resources, please visit the link below:
RDKM-SSO
Any questions or comments please feel free to contact RDK Support team support@rdkcentral.com . Thank you. ***
Generic RDK code can either use the EXTERNAL SRC model and PATCH model. In the process of integration for patches model, patches to the generic code may be identified and up-streamed to component owners so that these patches can be reviewed and merged into the generic code base. However, there will be a delay between the up-streaming of these patches and the application of these patches to the generic code base. During this time period (i.e. period between up-streaming of patches and merge into generic code base) the builds which are functional on patch model are dependent on these generic patches and may be unable to successfully build or execute. In order to ensure that builds based on patches model continue to build/execute, a mechanism is created that would allow for patches to the generic RDK is made available at the device/soc layers inside a component.
The below steps describe the process used to apply generic patches for SoCs and devices.
Quilt is a software utility for managing "patches" to the source code.
The scenario here is that another team member submitted a change, and you may want to review prior to approving, or you may just need this fix prior to it being merged.
Steps to Modify and Build an Image in a Yocto Workspace without External Source support
SRC_URI += "file://<name>.patch"
eg: SRC_URI += "file://temp.patch/"
Create a folder named "files" in the same folder of recipe.
Create a blank file with the same name given in the recipe.
touch files/<name>.patch
eg: touch files/temp.patch
bitbake <recipe> -c devshell
# quilt top
patches/temp.patch
quilt add "filename which you need to modify" (If multiple files are there, then add all those)
eg: quilt add Makefile.am configure.ac
Make necessary modifications required for these files.
Now replace this patch file with original one in files folder.
Do a Clean and then build.
RDK can either use the external src model and patch model