6/19/2017 10:18 AM | |
Joined: 4/28/2015 Last visit: 6/28/2024 Posts: 578 Rating: (43) |
This is a still just a preview, details of the commands are subject to change in the future. If you like to get a fresh SD-card image for the IOT2000 using the development version at https://github.com/siemens/meta-iot2000, there is now a much simpler process available via Docker:
Then you can retrieve the image by first finding out the container name that just ran:
Finally, copy out the image from that container:
The build should take something between 40 minutes (high-end server), some 2 hours (decent 4-core machine with 8..16 GB and SSD), or it may have to run over night. Looking forward to your feedback on this. I'm particularly interested in anyone having a Docker setup running under Windows (all my Windows machines are either virtual or historic): does the above work for you as well? We will soon also describe a simple way to do this without Docker, directly on a Linux machine and merge those descriptions and configurations into meta-iot2000. |
1/19/2018 10:37 AM | |
Joined: 4/28/2015 Last visit: 6/28/2024 Posts: 578 Rating: (43) |
There is a typo in your path ("exammple"), maybe that is the problem. The iot2000-example-image-iot2000.wic is a symbolic link to the actual image file which carries the build time in its name, thus is hard to reference in a generic document. Regarding customization, please have a look at https://support.industry.siemens.com/tf/ww/en/posts/creating-custom-layer/182600/?page=0&pageSize=10. Once you have a custom layer with your own kas.yml, you pass that one into the docker container for building. BTW, when developing customizations, I would recommend to map the build folder into the container (mount host directory as docker volume) rather than throwing it away after each build. You will have multiple runs and will soon appreciate not having to restart from the beginning each time. See README in latest meta-iot200 version. |
Follow us on