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

Pedraza Gonzalez, Francisco J francisco.j.pedraza.gonzalez at intel.com
Thu Nov 17 18:20:46 UTC 2016


Hi,
Sure I can send a patch with the updates.
Ross: Could you please give more details about PACKAGE_CLASSES?, I am not very familiar with.
Regards,
Paco
________________________________________
From: Jose Perez Carranza [jose.perez.carranza at linux.intel.com]
Sent: Thursday, November 17, 2016 7:33 AM
To: Burton, Ross; Pedraza Gonzalez, Francisco J
Cc: OE-core
Subject: Re: [OE-core] [PATCH] Test needed to verify postinst script order.

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






More information about the Openembedded-core mailing list