Add a work around in the arm-trusted-firmware bbappend for
meta-rcar-gen3 to fix intermittent failures due to a bug in the
upstream recipe where it is dependent on something else happening
to have run first and creating DEPLOY_DIR_IMAGE.
Bug-AGL: SPEC-4343
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibe43bdb0cf1b525e30ada758e12b687f5dda0d3f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27431
ci-image-build: Jenkins Job builder account
Reviewed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
SRC_URI:append = " \
file://0001-Boot-Normal-World-in-EL2.patch \
"
+
+do_ipl_opt_deploy:prepend () {
+ # Work around bug in BSP recipe, it can fail if nothing else has
+ # happened to run first and create the directory.
+ install -d ${DEPLOY_DIR_IMAGE}
+}