9/20/2017 11:33 AM | |
Posts: 52 Rating:
|
Hello, Using the README.md, I managed to start the example-image build process, but I can not find any Tutorial on how to modify an Image or how to include new Layers. As I have nearly no experience in these processes I would really appreciate it if someone could write a Tutorial or something alike on how to do this. Maybe this could help other people as well. And if there is already a Post covering this topic that I missed, I would be happy if you could link it below. Best regards, |
9/21/2017 9:48 AM | |
Joined: 8/3/2017 Last visit: 6/11/2024 Posts: 1086 Rating:
|
Hi chrisstud, maybe this thread could help you: Best regards, Noodles |
Please, check out the forum search to find already existing topics regarding your issue and to get some hints. |
|
9/21/2017 11:32 AM | |
Joined: 4/28/2015 Last visit: 8/26/2024 Posts: 3345 Rating:
|
Hi, at first you have to have a look at http://layers.openembedded.org/layerindex/branch/master/recipes/ and search for your recipe (i.e apache). You will find the layer (i.e meta-webserver) which includes the package. This layer you will have to clone to your build system. If you click on the layer you find the adress to clone and its dependencies. It may be that you will need to clone other layers additionally. In your case meta-webserver is already cloned, because it is included in meta-openembedded Once you have cloned the layer (git clone ...), you have to add it to the bblayers.conf. It is located in your build directory in ../meta-iot2000/build/conf/bblayers.conf. You will also have to add the depending layers if needed. In your case add
Now the layer is included. As last step you have to add the package (i.e apache) to the image config file. This is located in ../meta-iot2000/meta-iot2000-example/recipes-core/images/iot2000-example-image.inc In your case you have to add
The packagename has to be the same as you found on the website. Now you must not do the kas process again, because then the bblayers.conf will be overwritten!! Instead you have to the bitbake process manually. Therefore do the following commands:
Now the image will be rebuild including apache! Best regards! |
Not working for IOT2050 support anymore from March 1st, 2024. |
|
This contribution was helpful to
3 thankful Users |
9/21/2017 11:41 AM | |
Posts: 52 Rating:
|
You`re a legend bergmanu! This helps a lot, thank you! |
This contribution was helpful to
3 thankful Users |
9/22/2017 8:32 AM | |
Joined: 4/28/2015 Last visit: 6/28/2024 Posts: 578 Rating:
|
We will try to provide some skeleton layer that can take modifications to the image while not modifying the original layers and not having to leave the kas setup behind (i.e. will survive the next update of meta-iot2000).
|
This contribution was helpful to
1 thankful Users |
1/3/2018 4:00 PM | |
Joined: 1/3/2018 Last visit: 6/11/2024 Posts: 33 Rating:
|
Hi, I'm trying to build my first image adding new layers and I thought that this topic could solve my problems but it hasn't been fully so. I downloaded meta-iot2000 from github repository and I cannot find these directories/files. I think that I understand the logic, i.e. adding the interested meta-layer in layers.conf file and after append the recipe in iot2000-example-image.inc file but I'm not sure on how to modify rightly layers.conf. [snip] ... Thanks in advance for the help! --------- split to: How i install bitbake? |
Last edited by: CS Moderator at: 1/4/2018 11:19:39 AMsplit second question to a seperate thread |
|
1/4/2018 4:15 PM | |
Joined: 1/3/2018 Last visit: 6/11/2024 Posts: 33 Rating:
|
Ok, with jan-k help on How i install bitbake post I made order on steps. Hence to create my customized image with additional tools (such as nodejs) I have to build meta-iot2000-example on github repository using kas. After that i have to modify bblayers.conf with all interested meta-layers and "sub" meta-layers (e.g. I have to include both meta-oe and meta-webserver) and finally I have to include recipes in iot2000-example-image.inc using bitbake to build my customized image. Right? Thanks again for help! |
Last edited by: Corn98 at: 1/4/2018 4:24:15 PM |
|
Follow us on