aboutsummaryrefslogtreecommitdiffstats
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-22 12:23:56 +0000
commit197314474d5d9eedfefde10fe31a848a78bd8a25 (patch)
tree7ac414d82abf80440680be41dea0d556e037ba4c /meta-agl-bsp
parentc764d0025887f94a8f69bb118d2bb5c2e90bbf1c (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
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
}