kernel: lantiq: ltq-vmmc: introduce user group for vmmc
authorDaniel Golle <daniel@makrotopia.org>
Sun, 3 Mar 2024 15:22:54 +0000 (15:22 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 3 Mar 2024 16:18:02 +0000 (16:18 +0000)
commitc8898f46f9d35b2b5a82a689a3d87f9afe517c50
tree793d54c465bc46de0cea50f694f045ee3b694e89
parent37c2bc4397c1f7152ab9cb2f4235cb65a6d501bb
kernel: lantiq: ltq-vmmc: introduce user group for vmmc

asterisk-chan-lantiq is by now the only user of the VMMC interface.
And asterisk runs as user 'asterisk' which doesn't give it permission
to open the /dev/vmmc* devices.
Introduce a new user group 'vmmc' and give permission to access the
/dev/vmmc* devices to that group.
Another commit for asterisk-chan-lantiq will add the 'asterisk' user
to that group.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 37bbed6f95856a507d727ffc863b20f8a8b35332)
package/kernel/lantiq/ltq-vmmc/Makefile
package/kernel/lantiq/ltq-vmmc/files/vmmc.init