alsa-utils: added runit service.
This commit is contained in:
parent
a8c94d8347
commit
0dde9a0ea3
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
exec alsactl store
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
alsactl restore
|
||||
exec chpst -b alsa pause
|
|
@ -0,0 +1 @@
|
|||
/run/runit/supervise.alsa
|
|
@ -1,7 +1,8 @@
|
|||
# Template build file for 'alsa-utils'.
|
||||
pkgname=alsa-utils
|
||||
version=1.0.28
|
||||
revision=2
|
||||
revision=3
|
||||
replaces="runit-void<20141013_2"
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-udev-rules-dir=/usr/lib/udev/rules.d -disable-alsaconf"
|
||||
hostmakedepends="pkg-config xmlto"
|
||||
|
@ -25,4 +26,5 @@ post_install() {
|
|||
# Install required udev rules file.
|
||||
make -C alsactl 90-alsa-restore.rules
|
||||
vinstall alsactl/90-alsa-restore.rules 644 usr/lib/udev/rules.d
|
||||
vsv alsa
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue