Skip to contentSkip to conversation

pulseaudio: fix client.conf location

PATCH New Tanu Kaskinen 1 participant 1 message Dec 21, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pulseaudio: fix client.conf location

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

---
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/pulseaudio/pulseaudio.inc +1 -1
index cf4be7ed40..e40b8c1c40 100644
@@ -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
 }
 
Signature · 1 line
2.20.1