summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-11-21 18:02:41 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-11-23 15:04:41 +0000
commit12a46f9ed5a2d4606cc63604ceadaea00c37dd8b (patch)
tree6ff2b3f4ab9ac3c3f95bd75d178b6c61c2e38240 /meta-agl-bsp
parent1e6c2689cc8a9bcc320ae421819632603eef0dc0 (diff)
Remove remaining "display" group usage
Update the meta-rcar-gen3 driver specific bbappends to use the "video" group instead of "display", and remove the weston-init bbappend that was adding the "display" group when using it with weston. The group is no longer used in meta-rcar-gen3 or in any of the AGL layers since the rework done for SPEC-4714; these uses were missed at that time, and were causing permission issues with the PVR driver initialization scripts. Bug-AGL: SPEC-4979 Change-Id: I2efc8ea6e83b86e59def8a8333c8cc3064f8a7dd Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29456 ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account (cherry picked from commit 197314474d5d9eedfefde10fe31a848a78bd8a25) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29364
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/recipes-graphics/wayland/weston-init.bbappend4
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/mmngr-module/mmngr-user-module.bbappend4
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bbappend4
3 files changed, 4 insertions, 8 deletions
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/wayland/weston-init.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/wayland/weston-init.bbappend
deleted file mode 100644
index e4f5d29f5..000000000
--- a/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/wayland/weston-init.bbappend
+++ /dev/null
@@ -1,4 +0,0 @@
-# Add display group to default list for weston user
-USERADD_PARAM:${PN} = "--home /home/weston --shell /bin/sh --user-group -G video,input,display weston"
-
-GROUPADD_PARAM:${PN} = "--system display ; -r wayland"
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/mmngr-module/mmngr-user-module.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/mmngr-module/mmngr-user-module.bbappend
index ce0219217..9d3f5c670 100644
--- a/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/mmngr-module/mmngr-user-module.bbappend
+++ b/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/mmngr-module/mmngr-user-module.bbappend
@@ -1,8 +1,8 @@
do_install:append() {
- # Add a rule to ensure the 'display' user has permission to access
+ # Add a rule to ensure the 'video' user has permission to access
install -d ${D}${sysconfdir}/udev/rules.d
cat >${D}${sysconfdir}/udev/rules.d/56-rgnmm.rules <<'EOF'
-KERNEL=="rgnmm", MODE="0660", GROUP="display"
+KERNEL=="rgnmm", MODE="0660", GROUP="video"
EOF
}
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bbappend
index 13fc03c3a..640e52651 100644
--- a/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bbappend
+++ b/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bbappend
@@ -1,8 +1,8 @@
do_install:append() {
- # Add a rule to ensure the 'display' user has permission to access
+ # Add a rule to ensure the 'video' group has permission to access
install -d ${D}${sysconfdir}/udev/rules.d
cat >${D}${sysconfdir}/udev/rules.d/56-rgnmmbuf.rules <<'EOF'
-KERNEL=="rgnmmbuf", MODE="0660", GROUP="display"
+KERNEL=="rgnmmbuf", MODE="0660", GROUP="video"
EOF
}