X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2F4_Developer_Guides%2F4_Creating_a_custom_recipe.md;fp=docs%2F4_Developer_Guides%2F4_Creating_a_custom_recipe.md;h=0000000000000000000000000000000000000000;hb=120a2677992ea299eea5fb5cb0ed1081f76bb92c;hp=f8650e8b528ccf822ee4a10d1f6ed3ecba3f422a;hpb=33727f4e9619f9da65fdfc608a10a92887c7257c;p=AGL%2Fdocumentation.git diff --git a/docs/4_Developer_Guides/4_Creating_a_custom_recipe.md b/docs/4_Developer_Guides/4_Creating_a_custom_recipe.md deleted file mode 100644 index f8650e8..0000000 --- a/docs/4_Developer_Guides/4_Creating_a_custom_recipe.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -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