From 888224e3fc13eeaa409cdb0d7879232f93981713 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 29 Apr 2022 12:44:27 -0400 Subject: meta-agl-bsp: add fix for intermittent failures in arm-trusted-firmware 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 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 Reviewed-by: Jan-Simon Moeller Tested-by: Jan-Simon Moeller --- .../arm-trusted-firmware/arm-trusted-firmware_git.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend') diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend index 4ba36ca2c..212c661b1 100644 --- a/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend +++ b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend @@ -3,3 +3,9 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:" 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} +} -- cgit 1.2.3-korg