base-system-rpi: load the snd-bcm2835 module by default.

This commit is contained in:
Juan RP 2013-03-24 14:36:04 +01:00
parent 71fbce2230
commit afb5d306ff
1 changed files with 7 additions and 2 deletions

View File

@ -1,8 +1,7 @@
# Template file for 'base-system-rpi'
pkgname=base-system-rpi
version=0.3
version=0.4
revision=1
build_style=meta-template
depends="base-files ncurses coreutils findutils diffutils dash bash grep
texinfo file sed gawk less util-linux which tar man-pages man-db shadow
e2fsprogs btrfs-progs xfsprogs kbd psmisc procps-ng sudo tzdata ntp-daemon
@ -15,3 +14,9 @@ maintainer="Juan RP <xtraeme@gmail.com>"
license="Public domain"
only_for_archs="armv6l"
provides="base-system-${version}"
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
}