diff options
-rw-r--r-- | meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 8 | ||||
-rw-r--r-- | meta/recipes-multimedia/pulseaudio/pulseaudio_1.1.bb | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc index 6cd6d161a..131d65962 100644 --- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc @@ -90,13 +90,13 @@ pkg_postinst_${PN}-server() { if [ "x$D" != "x" ]; then exit 1 fi - grep -q pulse: /etc/group || addgroup pulse - grep -q pulse: /etc/passwd || \ + grep -q pulse: ${sysconfdir}/group || addgroup pulse + grep -q pulse: ${sysconfdir}/passwd || \ adduser --disabled-password --home=/var/run/pulse --system \ --ingroup pulse --no-create-home -g "Pulse audio daemon" pulse addgroup pulse audio - if [ -e /etc/init.d/populate-volatile.sh ] ; then - /etc/init.d/populate-volatile.sh update + if [ -e ${sysconfdir}/init.d/populate-volatile.sh ] ; then + ${sysconfdir}/init.d/populate-volatile.sh update fi } diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio_1.1.bb b/meta/recipes-multimedia/pulseaudio/pulseaudio_1.1.bb index df3a53e11..576d2b747 100644 --- a/meta/recipes-multimedia/pulseaudio/pulseaudio_1.1.bb +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio_1.1.bb @@ -1,6 +1,6 @@ require pulseaudio.inc -PR = "r1" +PR = "r2" DEPENDS += "libjson gdbm speex libxml-parser-perl-native" |