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