Backport fix for image class dependencies 51/11351/2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Mon, 16 Oct 2017 19:34:53 +0000 (21:34 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 18 Oct 2017 13:11:35 +0000 (13:11 +0000)
commit60119ef5ff5873545679748c40c037b327362e32
tree1917a3c38bb0a62386f05c2c8065ff4f2751c7e7
parentfdf111b8b25d7728182443f03833302598fad170
Backport fix for image class dependencies

This ports http://lists.openembedded.org/pipermail/openembedded-core/2017-September/142760.html
to our local image.bbclass overlay.

We see frequent issues during do_image_complete especially on the release build jobs like:
https://build.automotivelinux.org/job/release-jjb-eel-snapshot/7/MACHINE=intel-corei7-64,label=agl-test-slave/console

The race window shows particularly well when there is *no* parallelism.
PARALLEL_MAKE = "-j1"
BB_NUMBER_THREADS = "1"

Also the efi bootloader packages in meta-intel seem to particularly trigger this condition
which is caused by a race-condition in the yocto image generation functions and the license file handling.

Bug-AGL: SPEC-643

Change-Id: I2464216b054f360647b7aec461320aa769fde65e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11351
Reviewed-by: Thomas Rini <trini@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
meta-agl-bsp/classes/image.bbclass