meta-agl-bsp: add pseudo abort workaround for rcar3 builds 47/26147/2
authorScott Murray <scott.murray@konsulko.com>
Mon, 8 Mar 2021 17:59:15 +0000 (12:59 -0500)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 15 Mar 2021 21:48:35 +0000 (21:48 +0000)
Add workaround to avoid pseudo aborts triggered by the rcar3 kernel
module recipes writing to KERNELSRC in do_install, errors are of the
form (from pseudo.log):

path mismatch [27 links]: ino 19366408 db 'NAMELESS FILE' req 'build/tmp/work-shared/h3ulcb/kernel-source/include'.

See the commit messages in poky commits 4e7c211 and 3b7f2c6 and the
wiki page at:

https://wiki.yoctoproject.org/wiki/Pseudo_Abort

for details on the pseudo behavior change.  These can potentially be
moved to the recipes in the BSP, or removed if the recipes are changed
to shift the module headers and symbols to their dev packages.

Bug-AGL: SPEC-3840

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ic872e1cec1ccbd37a5a53d146119fa5053b85482
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26147
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/conf/include/agl_rcar-nogfx.inc

index 3ffded7..a9deefe 100644 (file)
@@ -10,4 +10,34 @@ RENESAS_DATADIR = "/usr"
 
 IMAGE_INSTALL_append_rcar-gen3 = " \
     kernel-devicetree \
-"
\ No newline at end of file
+"
+
+#
+# Workaround to avoid pseudo aborts triggered by the kernel module
+# recipes writing to KERNELSRC in do_install, errors are of the form
+# (from pseudo.log):
+#
+# path mismatch [27 links]: ino 19366408 db 'NAMELESS FILE' req 'build/tmp/work-shared/h3ulcb/kernel-source/include'.
+#
+# See the commit messages in poky commits 4e7c211 and 3b7f2c6 and the
+# wiki page at:
+#
+# https://wiki.yoctoproject.org/wiki/Pseudo_Abort
+#
+# for details on the pseudo change.  These can potentially be moved
+# to the recipes in the BSP, or removed if the recipes are changed to
+# shift the module headers and symbols to their dev packages.
+#
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-avb-mch = ",${KERNELSRC}"
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-avb-mse = ",${KERNELSRC}"
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-avb-streaming = ",${KERNELSRC}"
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-scu-src = ",${KERNELSRC}"
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-ssp = ",${KERNELSRC}"
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-tddmac = ",${KERNELSRC}"
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-tsif = ",${KERNELSRC}"
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-mmngr = ",${KERNELSRC}"
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-mmngrbuf = ",${KERNELSRC}"
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-qos = ",${KERNELSRC}"
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-vsp2driver = ",${KERNELSRC}"
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-vspmif = ",${KERNELSRC}"
+PSEUDO_IGNORE_PATHS_append_pn-kernel-module-vspm = ",${KERNELSRC}"