2013-11-11 11:53:27 +00:00
|
|
|
# Template file for 'rpi-base-files'
|
|
|
|
pkgname=rpi-base-files
|
|
|
|
version=0.1
|
|
|
|
revision=1
|
|
|
|
short_desc="Void Linux base system files for the Raspberry Pi"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.voidlinux.eu"
|
|
|
|
license="Public domain"
|
|
|
|
|
|
|
|
# XXX only for rpi
|
|
|
|
only_for_archs="armv6l"
|
2013-11-11 11:54:26 +00:00
|
|
|
makedepends="ntp?ntp-daemon dhcpcd openssh-server"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="${makedepends}"
|
|
|
|
# enable dhcpcd and sshd by default.
|
|
|
|
systemd_services="dhcpcd.service on sshd.service on"
|
|
|
|
replaces="base-system<0.77"
|
2013-11-11 11:53:27 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|