odroid-u2-base: add udev rules for mali gpu devices; disable restarting systemd services.
This commit is contained in:
parent
dce2db88af
commit
0cdc3699b6
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'odroid-u2-base'
|
# Template file for 'odroid-u2-base'
|
||||||
pkgname=odroid-u2-base
|
pkgname=odroid-u2-base
|
||||||
version=1.4
|
version=1.4
|
||||||
revision=3
|
revision=4
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
short_desc="Void Linux Odroid U2 platform package"
|
short_desc="Void Linux Odroid U2 platform package"
|
||||||
maintainer="Enno Boland <eb@s01.de>"
|
maintainer="Enno Boland <eb@s01.de>"
|
||||||
|
@ -14,13 +14,13 @@ hostmakedepends="uboot-mkimage"
|
||||||
|
|
||||||
conf_files=/etc/default/odroid-led
|
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="
|
systemd_services="
|
||||||
odroid-led.service on
|
odroid-led.service off
|
||||||
ntpdate.service on
|
ntpdate.service off
|
||||||
ntpd.service on
|
ntpd.service off
|
||||||
dhcpcd.service on
|
dhcpcd.service off
|
||||||
sshd.service on"
|
sshd.service off"
|
||||||
|
|
||||||
# Allow upgrades for compatibility.
|
# Allow upgrades for compatibility.
|
||||||
provides="odroid-u2-ubootcfg-${version}_${revision}"
|
provides="odroid-u2-ubootcfg-${version}_${revision}"
|
||||||
|
@ -38,6 +38,10 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
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
|
# Install uboot scr's
|
||||||
for scr in *.scr; do
|
for scr in *.scr; do
|
||||||
echo $scr
|
echo $scr
|
||||||
|
|
Loading…
Reference in New Issue
Block a user