[OE-core] [PATCH] testimage: regenerate rootfs before testing

Burton, Ross ross.burton at intel.com
Fri May 1 20:24:50 UTC 2015


On 23 April 2015 at 19:47, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> This was discussed long ago and there are two different tasks as a
> compromise. testimage_auto runs automatically after a rootfs is built
> and has the correct dependencies. "testimage" is triggered manually. The
> autobuilder actually uses testimage so it can be explicit about which
> images get tested.
>

The use-case was Cristi editing a recipe and running bitbake myimage -c
testimage with the expectation that the image gets rebuilt before testing.
This isn't unreasonable at currently the only way to do this is bitbake
myimage && bitbake myimage -c testimage.

If testimage_auto is merged with testimage I presume there'll be some
variable to control the behaviour.  Could we extend it to have an option to
make the image depend on the rootfs generation to cover all three use-cases?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150501/db749287/attachment-0002.html>


More information about the Openembedded-core mailing list