base-system-rpi: add udev rule for the vchiq device (0660 video group).

This commit is contained in:
Juan RP 2013-03-24 20:32:32 +01:00
parent fc9f75cb03
commit b7b3740a99

View file

@ -1,6 +1,6 @@
# Template file for 'base-system-rpi'
pkgname=base-system-rpi
version=0.4
version=0.5
revision=1
depends="base-files ncurses coreutils findutils diffutils dash bash grep
texinfo file sed gawk less util-linux which tar man-pages man-db shadow
@ -19,4 +19,8 @@ do_install() {
# Load the audio module by default.
vmkdir usr/lib/modules-load.d
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"' > \
${DESTDIR}/usr/lib/udev/rules.d/71-raspberrypi.rules
}