base-system-rpi: add udev rule for the vchiq device (0660 video group).
This commit is contained in:
parent
fc9f75cb03
commit
b7b3740a99
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue