From cd80954328cef8b9ec1e878f6bead91c8752d65c Mon Sep 17 00:00:00 2001 From: Naoto Yamaguchi Date: Sat, 6 May 2023 17:19:09 +0900 Subject: Write back group setting to original at 72-pvr-seat.rule The access permission of /dev/pvr_sync is set group=display by 72-pvr-seat.rule. This setting replace from video to display at meta-agl/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/ gles-module/gles-user-module.bbappend. This change is not necessary in current AGL IVI demo. Because the similar device files set video group such as /dev/dri/cardX. This patch write back group setting to original at 72-pvr-seat.rule. Bug-AGL: SPEC-4777 Change-Id: I2bfbd8f387876207f2d09ee9e84eced61ada0904 Signed-off-by: Naoto Yamaguchi --- .../recipes-graphics/gles-module/gles-user-module.bbappend | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-agl-ic-container') diff --git a/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend b/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend index 462dd5fc..4768f6ff 100644 --- a/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend +++ b/meta-agl-ic-container/dynamic-layers/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend @@ -1,5 +1,9 @@ RDEPENDS:${PN}:remove:aglcontainerguest = "kernel-module-gles" +do_install:append(){ + sed -i 's/GROUP="display"/GROUP="video"/g' ${D}${sysconfdir}/udev/rules.d/72-pvr-seat.rules +} + PACKAGES:prepend = "\ ${PN}-firmware \ " -- cgit 1.2.3-korg