We rely on PulseAudio's autospawn feature 
to automatically start the daemon.
Our boards have root as default user, 
so it's useful to be able to use PulseAudio autospawn for root.

Signed-off-by: Yuqing Zhu <[email protected]>
---
 conf/distro/include/fsl-base.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/conf/distro/include/fsl-base.inc b/conf/distro/include/fsl-base.inc
index fac0906..5483e18 100644
--- a/conf/distro/include/fsl-base.inc
+++ b/conf/distro/include/fsl-base.inc
@@ -66,3 +66,6 @@ PREFERRED_VERSION_gstreamer1.0-plugins-bad = "1.14.imx"
 
 # Use i.MX libdrm Version
 PREFERRED_VERSION_libdrm = "2.4.84.imx"
+
+# Enable allow-autospawn-for-root as default
+PACKAGECONFIG_pn-pulseaudio_append = " autospawn-for-root"
-- 
1.9.1

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to