[OE-core] [PATCH] Test needed to verify postinst script order.

Jose Perez Carranza jose.perez.carranza at linux.intel.com
Thu Nov 17 15:33:33 UTC 2016



On 11/17/2016 06:14 AM, Burton, Ross wrote:
>
> On 16 November 2016 at 00:50, Francisco Pedraza 
> <francisco.j.pedraza.gonzalez at intel.com 
> <mailto:francisco.j.pedraza.gonzalez at intel.com>> wrote:
>
>     Will verify the following:
>     1. Compile a minimal image.
>     2. The compiled image will add the created layer with the
>     recipes postinstz postinsta postinstb postinstd postinstp postinstt
>     created previously at "meta-selftest/recipes-test"
>     2. Run qemu
>     3. Validate the task execution order.
>     V4
>
>
> This is missing the test that some postinsts should be happening at 
> rootfs time.
I have assigned the bug 8433 and I will send a different patch to add 
those test cases, I'm just waiting to the final implementation of this  
patch to be accepted to avoid execution and merge conflicts.
>
> Also, can it permute PACKAGE_CLASSES (rotate through all three 
> options) so it exercises all backends.
>
>     Signed-off-by: Francisco Pedraza
>     <francisco.j.pedraza.gonzalez at intel.com
>     <mailto:francisco.j.pedraza.gonzalez at intel.com>>
>     ---
>      .../recipes-test/postinsta/postinsta_1.0.bb
>     <http://postinsta_1.0.bb>        | 20 +++++++++++
>      .../recipes-test/postinstb/postinstb_1.0.bb
>     <http://postinstb_1.0.bb>        | 22 ++++++++++++
>      .../recipes-test/postinstd/postinstd_1.0.bb
>     <http://postinstd_1.0.bb>        | 22 ++++++++++++
>      .../recipes-test/postinstp/postinstp_1.0.bb
>     <http://postinstp_1.0.bb>        | 22 ++++++++++++
>      .../recipes-test/postinstt/postinstt_1.0.bb
>     <http://postinstt_1.0.bb>        | 22 ++++++++++++
>      .../recipes-test/postinstz/postinstz_1.0.bb
>     <http://postinstz_1.0.bb>        | 12 +++++++
>
>
> For clarity can all of these be squashed into a single recipe with 
> clearer names?
>
> Ross
>
>

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


More information about the Openembedded-core mailing list