odroid-u2-base: add udev rules for mali gpu devices; disable restarting systemd services.

This commit is contained in:
Juan RP 2014-01-27 16:07:11 +01:00
parent dce2db88af
commit 0cdc3699b6

View File

@ -1,7 +1,7 @@
# Template file for 'odroid-u2-base'
pkgname=odroid-u2-base
version=1.4
revision=3
revision=4
homepage="http://www.voidlinux.eu"
short_desc="Void Linux Odroid U2 platform package"
maintainer="Enno Boland <eb@s01.de>"
@ -14,13 +14,13 @@ hostmakedepends="uboot-mkimage"
conf_files=/etc/default/odroid-led
# enable odroid-led, ntpd, dhcpcd and sshd by default.
# enable odroid-led, ntpd, dhcpcd and sshd by default (but don't restart services).
systemd_services="
odroid-led.service on
ntpdate.service on
ntpd.service on
dhcpcd.service on
sshd.service on"
odroid-led.service off
ntpdate.service off
ntpd.service off
dhcpcd.service off
sshd.service off"
# Allow upgrades for compatibility.
provides="odroid-u2-ubootcfg-${version}_${revision}"
@ -38,6 +38,10 @@ do_build() {
}
do_install() {
# Set proper perms to some devices.
vmkdir usr/lib/udev/rules.d
echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-odroid-u2.rules
# Install uboot scr's
for scr in *.scr; do
echo $scr