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>