void-packages/srcpkgs/rpi3-base/template
2019-03-02 16:55:54 -03:00

19 lines
564 B
Bash

# Template file for 'rpi3-base'
pkgname=rpi3-base
version=0.1
revision=2
homepage="http://www.voidlinux.eu"
short_desc="Void Linux RaspberryPi3 (64 bit) base files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain"
archs="aarch64*"
depends="virtual?ntp-daemon rpi3-firmware linux"
do_install() {
# Fix permissions for the vchiq device.
vmkdir usr/lib/udev/rules.d
echo 'SUBSYSTEM=="vchiq", GROUP="video", MODE="0660"' > \
${DESTDIR}/usr/lib/udev/rules.d/71-raspberrypi.rules
vinstall ${FILESDIR}/20-rpi3 0755 etc/kernel.d/post-install
}