diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-29 22:24:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-30 15:33:28 +0000 |
commit | 82414933a98b30f48507858e7fc22b349a4f8dab (patch) | |
tree | 4b51534e8444ddcd702dffe2568ba563dafcedca /meta/recipes-multimedia | |
parent | d911635bdcb84bb162b49bca32c7c7867e56a023 (diff) | |
download | openembedded-core-82414933a98b30f48507858e7fc22b349a4f8dab.tar.gz openembedded-core-82414933a98b30f48507858e7fc22b349a4f8dab.tar.bz2 openembedded-core-82414933a98b30f48507858e7fc22b349a4f8dab.tar.xz openembedded-core-82414933a98b30f48507858e7fc22b349a4f8dab.zip |
pulseaudio 1.1: replace hardcoded /etc with ${sysconfdir}
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-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" |