rpi-base: added support for Raspberry Pi 2 (armv7).
This commit is contained in:
parent
226e7e854f
commit
5900d5c105
1 changed files with 7 additions and 5 deletions
|
@ -1,19 +1,21 @@
|
||||||
# Template file for 'rpi-base'
|
# Template file for 'rpi-base'
|
||||||
pkgname=rpi-base
|
pkgname=rpi-base
|
||||||
version=1.9
|
version=2.0
|
||||||
revision=1
|
revision=1
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
short_desc="Void Linux RaspberryPi base files"
|
short_desc="Void Linux RaspberryPi base files"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="Public Domain"
|
license="Public Domain"
|
||||||
|
|
||||||
only_for_archs="armv6l"
|
only_for_archs="armv6l armv7l"
|
||||||
depends="virtual?ntp-daemon rpi-firmware rpi-kernel"
|
depends="virtual?ntp-daemon rpi-firmware rpi-kernel"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
# Load the audio module by default.
|
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
|
||||||
|
# Load the audio module by default on RPi.
|
||||||
vmkdir usr/lib/modules-load.d
|
vmkdir usr/lib/modules-load.d
|
||||||
echo snd-bcm2835 > ${DESTDIR}/usr/lib/modules-load.d/snd_bcm2835.conf
|
echo snd-bcm2835 > ${DESTDIR}/usr/lib/modules-load.d/snd_bcm2835.conf
|
||||||
|
fi
|
||||||
# Fix permissions for the vchiq device.
|
# Fix permissions for the vchiq device.
|
||||||
vmkdir usr/lib/udev/rules.d
|
vmkdir usr/lib/udev/rules.d
|
||||||
echo 'SUBSYSTEM=="vchiq", GROUP="video", MODE="0660"' > \
|
echo 'SUBSYSTEM=="vchiq", GROUP="video", MODE="0660"' > \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue