cubieboard2-base: add udev rules for cedar/disp devices.
This commit is contained in:
parent
2534e7386b
commit
51575ab05a
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'cubieboard2-base'
|
||||
pkgname=cubieboard2-base
|
||||
version=1.1
|
||||
version=1.2
|
||||
revision=1
|
||||
build_style=meta
|
||||
homepage="http://www.voidlinux.eu"
|
||||
|
@ -23,4 +23,8 @@ do_install() {
|
|||
# Load the sunxi-emac module by default.
|
||||
vmkdir usr/lib/modules-load.d
|
||||
echo sunxi-emac > ${DESTDIR}/usr/lib/modules-load.d/cubieboard2.conf
|
||||
# Set proper perms to disp and cedar devices.
|
||||
vmkdir usr/lib/udev/rules.d
|
||||
echo 'KERNEL=="disp", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-disp.rules
|
||||
echo 'KERNEL=="cedar_dev", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-cedar.rules
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue