From fe75c0410d6848317e908b0546868bc741af0c42 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 20 Oct 2023 14:15:30 +0200 Subject: [PATCH] conf: include TI_COMMON_DEPLOY in PSEUDO_IGNORE_PATHS Since the introduction of TI_COMMON_DEPLOY, we've been seeing frequent Pseudo errors [1] breaking image build during development, in particular with partial rebuilds due to the externalsrc bbclass. The relevant part of the error log seems to be the following: ERROR: Task (/home/schifferm/Devel/src/ci-meta-tq-kirkstone/sources/meta -tq/meta-dumpling/recipes-images/images/tq-image-generic-debug.bb:do _rootfs) failed with exit code '1' Pseudo log: path mismatch [1 link]: ino 12215614 db '/home/schifferm/Devel/src/ci-me ta-tq-kirkstone/build-mba64xx/deploy-ti/images/tqma64xxl-mbax4xxl/tq -image-generic-debug-tqma64xxl-mbax4xxl-20231020091917.testdata.json ' req '/home/schifferm/Devel/src/ci-meta-tq-kirkstone/build-mba64xx/ tmp/work/tqma64xxl_mbax4xxl-tq-linux/tq-image-generic-debug/1.0-r0/r ootfs/usr/share/stress-ng/example-jobs/device.job;65324e26'. My understanding is that all deploy dirs should be ignored by Pseudo, as openembedded-core/meta/bitbake.conf includes the whole of DEPLOY_DIR in PSEUDO_IGNORE_PATHS. With the introduction of TI_COMMON_DEPLOY, DEPLOY_DIR_IMAGE is not covered by that setting anymore, so we add it in meta-ti to avoid the issue. [1] https://wiki.yoctoproject.org/wiki/Pseudo_Abort Signed-off-by: Matthias Schiffer Acked-by: Denys Dmytriyenko Signed-off-by: Ryan Eatmon --- meta-ti-bsp/conf/layer.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-ti-bsp/conf/layer.conf b/meta-ti-bsp/conf/layer.conf index 68651b8d..f0fcbc7b 100644 --- a/meta-ti-bsp/conf/layer.conf +++ b/meta-ti-bsp/conf/layer.conf @@ -31,3 +31,4 @@ HOSTTOOLS_NONFATAL += "truncate xxd comm" TI_COMMON_DEPLOY ?= "${TOPDIR}/deploy-ti" DEPLOY_DIR_IMAGE:ti-soc = "${TI_COMMON_DEPLOY}/images/${MACHINE}" SDK_DEPLOY:ti-soc = "${TI_COMMON_DEPLOY}/sdk" +PSEUDO_IGNORE_PATHS:append:ti-soc = ",${TI_COMMON_DEPLOY}"