2. Yocto
Yocto Project help developers to create custom Linux image for target boards.
Layered Architecture.
Recipe : set of instructions
Bitbake : It is the build engine in the Yocto Project.it executes the task according
to provided recipes.
Presentation title 2
4. Content of The Recipe
Presentation
title
DESCRIPTION
SECTION
LICENSE
LIC_FILES_CHKSUM
SRC_URI
S
do_compile
do_install
4
5. What is Patches ?
Presentation
title
• Patch management is the process of distributing and
applying updates to software. These patches are often
necessary to correct errors
5
6. Patch using quilt
Presentation title 6
Make Make clean build.
Exit Exit from current window [exit]
Create Create patch [quilt refresh]
Edit Edit the file [ quilt edit filename.c]
Add Add the file which need to be edited [ quilt add filename.c]
Check Check if our patch is on top .[quilt top]
Run Run the command inside build directory [bitbake recipe-name -c devshell]
Add Add the path to Patch in SRC_URI [file://temp.patch]
Create Create Patch file in files directory.[touch files/temp.patch]
7. Patch using git
Presentation
title
Git add & Commit the current code [git commit -m "message“]
Edit the code
Git add & Commit the current code [git commit -m "message“]
git format-patch -1 <commitid>
Copy the patch file to the "/files/*“ directory
Add the path to patch in recipe.
Clean and Build
7