mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
cubieboard2-base: set up proper perms to more devices (mali and ump).
This commit is contained in:
parent
ef2bd1723f
commit
dce2db88af
1 changed files with 8 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'cubieboard2-base'
|
# Template file for 'cubieboard2-base'
|
||||||
pkgname=cubieboard2-base
|
pkgname=cubieboard2-base
|
||||||
version=1.2
|
version=1.3
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meta
|
build_style=meta
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
|
@ -12,19 +12,18 @@ only_for_archs="armv7l"
|
||||||
makedepends="ntp?ntp-daemon dhcpcd openssh-server cubieboard2-uboot cubieboard2-kernel"
|
makedepends="ntp?ntp-daemon dhcpcd openssh-server cubieboard2-uboot cubieboard2-kernel"
|
||||||
depends="${makedepends}"
|
depends="${makedepends}"
|
||||||
|
|
||||||
# enable ntpd, dhcpcd and sshd by default.
|
# enable ntpd, dhcpcd and sshd by default (but do not restart services).
|
||||||
systemd_services="
|
systemd_services="
|
||||||
ntpdate.service on
|
ntpdate.service off
|
||||||
ntpd.service on
|
ntpd.service off
|
||||||
dhcpcd.service on
|
dhcpcd.service off
|
||||||
sshd.service on"
|
sshd.service off"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
# Load the sunxi-emac module by default.
|
# Load the sunxi-emac module by default.
|
||||||
vmkdir usr/lib/modules-load.d
|
vmkdir usr/lib/modules-load.d
|
||||||
echo sunxi-emac > ${DESTDIR}/usr/lib/modules-load.d/cubieboard2.conf
|
echo sunxi-emac > ${DESTDIR}/usr/lib/modules-load.d/cubieboard2.conf
|
||||||
# Set proper perms to disp and cedar devices.
|
# Set proper perms to some devices.
|
||||||
vmkdir usr/lib/udev/rules.d
|
vmkdir usr/lib/udev/rules.d
|
||||||
echo 'KERNEL=="disp", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-disp.rules
|
echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-cubieboard.rules
|
||||||
echo 'KERNEL=="cedar_dev", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-cedar.rules
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue