For the automated testing, in order to deploy test images onto the hardware so we can boot into them, we need a "known good" image (referred to here as a "master" image) that we can first boot into in a separate partition, then interact with in order to deploy the image to be tested. This should be straightforward - we just need to send the image over ssh and extract/copy it onto the test partition. Thus this task involves: 1. Adding a recipe for a "master" image 2. Writing some code to interact with it to deploy the test image 3. Providing a means of setting up the partition layout, presumably using wic.
Patches on the ML. Some notes: 1 and 3 - have been combined (wic wasn't used for now) - the partition layout is done from the installer thus the master image recipe. 2 - code for TEST_TARGET = "GummibootTarget" exists, that works for EFI hardware only. Other BSP will probably need to subclass that and adapt for their bootloaders.
Related to master image: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a4447e365026b6f1af74b48a4fbd5059c05afdbd http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2764a40093644595cad9c095fb344912f9dc60fa Deploy/test for EFI targets: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=397225996446ac91c5623972f2ca5c8b3a17c31e Next on the list is to get some documentation written so I can send something to Scott.
I think we can mark this one as resolved for 1.6. If we have further enhancements we can add additional enhancement bugs to cover them.
What about the doc component for this release? Is there something we need to cover? Scott
Documentation should be covered by the automated testing additions that we did. We might want to add core-image-testmaster to the list of images in ref-images.xml though.
Hi, See http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#ref-images for the list of images. I have added the core-image-testmaster image to the list. I need the description reviewed and approved before I can turn the doc flag on this bug. Scott
For the description could we say this instead: A "master" image designed to be used for automated runtime testing. Provides a "known good" image that is deployed to a separate partition so that you can boot into it and use it to deploy a second image to be tested. It may also be good to finish with a "more information" link to the automated runtime testing section as well.
Hi Paul, I have implemented your suggestion. You can see the change at http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#ref-images. I am marking this documentation flag to "Done". Scott