meta-agl-bsp: BBMASK out rcar3 base-files and systemd modifications 79/27179/2
authorScott Murray <scott.murray@konsulko.com>
Mon, 14 Feb 2022 23:39:44 +0000 (18:39 -0500)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 24 Feb 2022 16:57:54 +0000 (16:57 +0000)
To avoid breaking changes to systemd-tmpfiles' default behavior,
disable the base-files and systemd bbappends in meta-rcar-gen3 with
BBMASK.  The changes in the BSP seem aimed at fixing an issue with
a particular NFS root configuration that does not apply to upstream
AGL, and break the documented expected behavior of systemd-tmpfiles
with respect to configuring files/directories under /var/volatile.
Additionally, this potentially improves shared state reuse across
aarch64 machine builds.

Bug-AGL: SPEC-4256

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I03807d2190a963f8cdf303d07f00fc1c099d230e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27200
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
(cherry picked from commit 49d3bdfdc0be53b5a857159a57073a7382b8453c)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27179

meta-agl-bsp/conf/include/agl_rcar-nogfx.inc

index f3548b8..eb29f1a 100644 (file)
@@ -41,3 +41,7 @@ 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}"
+
+# Mask out base-files and systemd bbappends to avoid changing systemd-tmpfiles
+# behavior, see SPEC-4256 for a more involved explanation.
+BBMASK += "meta-rcar-gen3/recipes-core/base-files/ meta-rcar-gen3/recipes-core/systemd/"