hotfix for this journal: only add devfs.d file if that directory exists. give correct name to audio_group.patch (else it would be ignored) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7328 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
@ -68,7 +68,8 @@ pkg_alsa_main() {
eval $MAKE ; eval $MAKE install
done
cat << EOT > $root/etc/devfsd.d/alsa
if [ -d $root/etc/devfsd.d ] ; then
LOOKUP snd/* MODLOAD
LOOKUP sound/* MODLOAD
@ -80,7 +81,7 @@ REGISTER sound/.* MKOLDCOMPAT
UNREGISTER snd/.* RMOLDCOMPAT
UNREGISTER sound/.* RMOLDCOMPAT
EOT
fi
install_init alsa $confdir/alsa.init
#cp $confdir/stone_mod_alsa.sh $root/etc/stone.d/mod_alsa.sh
}
@ -0,0 +1,25 @@
Change the group of users who can access alsa devices from 'audio' to 'sound'
since we already use 'sound' for other sound devices.
--- alsa-lib-1.0.10/src/conf/pcm/dsnoop.conf~ 2005-09-08 08:36:00.000000000 +0200
+++ alsa-lib-1.0.10/src/conf/pcm/dsnoop.conf 2006-03-14 21:35:56.000000000 +0100
@@ -26,7 +26,7 @@
type dsnoop
ipc_key 5778293
- ipc_gid audio
+ ipc_gid sound
ipc_perm 0660
slave {
pcm {
--- alsa-lib-1.0.10/src/conf/pcm/dmix.conf~ 2005-09-19 14:38:14.000000000 +0200
+++ alsa-lib-1.0.10/src/conf/pcm/dmix.conf 2006-03-14 21:36:03.000000000 +0100
type dmix
ipc_key 5678293