]> code.ossystems Code Review - openembedded-core.git/commitdiff
pulseaudio: fix client.conf location
authorTanu Kaskinen <tanuk@iki.fi>
Mon, 21 Dec 2020 13:51:08 +0000 (15:51 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Dec 2020 22:29:08 +0000 (22:29 +0000)
The location of the generated client.conf changed when switching from
Autotools to Meson.

Fixes this error when enabling autospawn-for-root:

    sed: can't read src/client.conf: No such file or directory

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/pulseaudio/pulseaudio.inc

index cf4be7ed4082c52fa367aadc98b15a3d60f7c8bc..e40b8c1c405de0cecb6592029d1d9dfa07b38aff 100644 (file)
@@ -133,7 +133,7 @@ set_cfg_value () {
 
 do_compile_append () {
        if ${@bb.utils.contains('PACKAGECONFIG', 'autospawn-for-root', 'true', 'false', d)}; then
-               set_cfg_value src/client.conf allow-autospawn-for-root yes
+               set_cfg_value src/pulse/client.conf allow-autospawn-for-root yes
        fi
 }