rpi-base: also use video group for input devices.

This commit is contained in:
Juan RP 2014-01-24 11:32:53 +01:00
parent 2611e10422
commit 0b8ce4d0bd

View File

@ -1,6 +1,6 @@
# Template file for 'rpi-base'
pkgname=rpi-base
version=1.2
version=1.3
revision=1
homepage="http://www.voidlinux.eu"
short_desc="Void Linux RaspberryPi base files"
@ -28,6 +28,8 @@ do_install() {
echo snd-bcm2835 > ${DESTDIR}/usr/lib/modules-load.d/snd_bcm2835.conf
# Fix permissions for the vchiq device.
vmkdir usr/lib/udev/rules.d
echo 'SUBSYSTEM=="vchiq", GROUP="video", MODE="0660"' > \
echo 'SUBSYSTEM=="vchiq|input", GROUP="video", MODE="0660"' > \
${DESTDIR}/usr/lib/udev/rules.d/71-raspberrypi.rules
echo 'KERNEL=="mouse*|mice|event*", GROUP="video", MODE="0770"' >> \
${DESTDIR}/usr/lib/udev/rules.d/71-raspberrypi.rules
}