rpi-base: handle armv6l-musl and get rid of linux-firmware-network.
By default the Raspberry Pi does not need linux-firmware to have network connectivity. Install it if you use any USB eth/wifi dongle.
This commit is contained in:
parent
3afa953fe3
commit
f97f2b064a
1 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'rpi-base'
|
# Template file for 'rpi-base'
|
||||||
pkgname=rpi-base
|
pkgname=rpi-base
|
||||||
version=2.4
|
version=2.5
|
||||||
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"
|
||||||
|
@ -8,14 +8,16 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="Public Domain"
|
license="Public Domain"
|
||||||
|
|
||||||
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
||||||
depends="virtual?ntp-daemon rpi-firmware rpi-kernel linux-firmware-network"
|
depends="virtual?ntp-daemon rpi-firmware rpi-kernel"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
armv6l*)
|
||||||
# Load the audio module by default on RPi.
|
# 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
|
;;
|
||||||
|
esac
|
||||||
# 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