summaryrefslogtreecommitdiffstats
path: root/docs/4_Developer_Guides/4_Creating_a_custom_recipe.md
diff options
context:
space:
mode:
authorVinod Ahuja <vahuja@unomaha.edu>2022-11-07 16:18:44 -0600
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-11-08 14:47:43 +0000
commit8be9db6f309e1e1b547e187c5db6ceac15f85a50 (patch)
treeca3a6179b37b381eaee1bf948aebf78c809883b4 /docs/4_Developer_Guides/4_Creating_a_custom_recipe.md
parente660399f8b909146a699e44eb340b8c0b7e7f12f (diff)
Fixing the index numbering
Fixing the index numbering for all documentation Bug-AGL: [SPEC-4470] Signed-off-by: Vinod Ahuja <vahuja@unomaha.edu> Change-Id: I96b482a3ab598f0739c692e301de66c0553ba0e4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/28118 Reviewed-by: Walt Miner <wminer@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'docs/4_Developer_Guides/4_Creating_a_custom_recipe.md')
-rw-r--r--docs/4_Developer_Guides/4_Creating_a_custom_recipe.md49
1 files changed, 49 insertions, 0 deletions
diff --git a/docs/4_Developer_Guides/4_Creating_a_custom_recipe.md b/docs/4_Developer_Guides/4_Creating_a_custom_recipe.md
new file mode 100644
index 0000000..f8650e8
--- /dev/null
+++ b/docs/4_Developer_Guides/4_Creating_a_custom_recipe.md
@@ -0,0 +1,49 @@
+---
+title: Creating a Custom Recipe
+---
+
+
+For adding a custom linux software/service like cannelloni you have to do the following steps:
+
+1. Add repo via devtool (gitrepo stands for the url)
+
+ ```
+ devtool add gitrepo
+ ```
+2. Try to bitbake, if it is working go to step 3
+
+ ```
+ bitbake packagename (gitrepo name)
+ ```
+ If it is not working you can do (repeating) following steps until it is working
+
+ 1. change/modify the recipe in /workspace/recipe/packagename
+ 2. change/modify the sources in /workspace/sources/packagename
+ 3. bitbake packagename
+
+ Now update the recipe, if you do this the first time you have to adapt the license and the LIC-File-Checksum
+
+ ```
+ devtool update-recipce packagename
+ ```
+
+3. Build the recipe and image with devtool
+
+ ```
+ devtool build packagename
+ devtool build-image agl-demo-platform
+ ```
+
+ If that is working you could add it to git/gerrit. You have to add your recipe to a layer.
+
+ 1. Copy files to the recipe
+ 2. add recipe to a packagegroup
+
+4. Git
+
+ ```
+ git review
+ git review -s
+ git remote -v update
+ ```
+![Build recipe](images/AGL_add_recipe.png) \ No newline at end of file