22 lines
637 B
Plaintext
22 lines
637 B
Plaintext
# Template file for 'rpi-base'
|
|
pkgname=rpi-base
|
|
version=1.9
|
|
revision=1
|
|
homepage="http://www.voidlinux.eu"
|
|
short_desc="Void Linux RaspberryPi base files"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="Public Domain"
|
|
|
|
only_for_archs="armv6l"
|
|
depends="virtual?ntp-daemon rpi-firmware rpi-kernel"
|
|
|
|
do_install() {
|
|
# Load the audio module by default.
|
|
vmkdir usr/lib/modules-load.d
|
|
echo snd-bcm2835 > ${DESTDIR}/usr/lib/modules-load.d/snd_bcm2835.conf
|
|
# 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
|
|
}
|