It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.
(From OE-Core rev:
72fd0993d8643d7ca52d954d65395585fdf34b03)
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PV = "0.2.0"
-PR = "r2"
+PR = "r3"
SRC_URI = "\
file://asound.conf \
pkg_postinst_${PN}() {
if test -z "$D"
then
- if test -x /usr/sbin/alsactl
+ if test -x ${sbindir}/alsactl
then
- /usr/sbin/alsactl -f ${localstatedir}/lib/alsa/asound.state restore
+ ${sbindir}/alsactl -f ${localstatedir}/lib/alsa/asound.state restore
fi
# INITSCRIPT_PARAMS changed, so remove the old and
# install the new setting.