diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-05-03 14:22:51 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2022-05-06 11:39:01 +0000 |
commit | 4f5cf5dc8de803407fa9d3ffa13994309edde985 (patch) | |
tree | f00561c7bcf8677f95f65f6206dd3c705275401f /meta-agl-bsp/meta-rcar-gen3/recipes-graphics/gles-module | |
parent | 080086bc5062a1eb025b82051884aaa508f50408 (diff) |
Enable usrmerge
An increasing number of advanced systemd features with respect to
immutable systems and sandboxing are effectively dependent on the
usrmerge distro feature, so it seems reasonable to enable it since
upstream AGL currently requires systemd usage. See SPEC-4352 for
more detailed discussion of rationale.
Changes:
- Add usrmerge to AGL_DEFAULT_DISTRO_FEATURES in poky-agl.conf.
- Add workarounds via bbappends in meta-agl-bsp for the assumption
of using /lib instead of ${nonarch_base_libdir} in various
meta-rcar-gen3 kernel module recipes. This will be followed up
with upstream to hopefully fix the recipes.
- Replaced some explicit /sbin usage with ${sbindir} in the
initramfs-netboot recipe used by the agl-netboot feature to avoid
packaging errors.
Bug-AGL: SPEC-4352
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibc0ae1e2628aca6474401e0852bbb97085f4ecfa
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27437
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Diffstat (limited to 'meta-agl-bsp/meta-rcar-gen3/recipes-graphics/gles-module')
-rw-r--r-- | meta-agl-bsp/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend index 66b9c46ed..bd7fdf207 100644 --- a/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend +++ b/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend @@ -3,5 +3,12 @@ require checksum_control.inc RDEPENDS:${PN}:append = " wayland-wsegl" do_install:append(){ - sed -i 's/GROUP="video"/GROUP="display"/g' ${D}${sysconfdir}/udev/rules.d/72-pvr-seat.rules + sed -i 's/GROUP="video"/GROUP="display"/g' ${D}${sysconfdir}/udev/rules.d/72-pvr-seat.rules + + # Work around upstream not using ${nonarch_base_libdir}/firmware + if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then + install -d ${D}${nonarch_base_libdir}/ + mv ${D}/lib/firmware ${D}${nonarch_base_libdir}/ + rm -rf ${D}/lib + fi } |