From 0cdc3699b68957a22919c03a98ab25a445efb39e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 27 Jan 2014 16:07:11 +0100 Subject: [PATCH] odroid-u2-base: add udev rules for mali gpu devices; disable restarting systemd services. --- srcpkgs/odroid-u2-base/template | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/srcpkgs/odroid-u2-base/template b/srcpkgs/odroid-u2-base/template index 7bc30643f11..cb5fd4df49e 100644 --- a/srcpkgs/odroid-u2-base/template +++ b/srcpkgs/odroid-u2-base/template @@ -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 " @@ -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