pulseaudio: keep the PID file in headless system
Without the PIDfile pulseaudio is not reliable. https://onedigi.atlassian.net/browse/DEL-8429 https://onedigi.atlassian.net/browse/DEL-6795 Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
parent
6a8bf7afff
commit
1560472f66
|
|
@ -91,11 +91,6 @@ do_install:append() {
|
||||||
install -d ${D}${systemd_unitdir}/system
|
install -d ${D}${systemd_unitdir}/system
|
||||||
install -m 0644 ${WORKDIR}/pulseaudio-system.service ${D}/${systemd_unitdir}/system
|
install -m 0644 ${WORKDIR}/pulseaudio-system.service ${D}/${systemd_unitdir}/system
|
||||||
|
|
||||||
# Remove pid file entry for non-graphical backend
|
|
||||||
if [ "${IS_HEADLESS}" = "true" ]; then
|
|
||||||
sed -i -e "/PIDFile/d" ${D}/${systemd_unitdir}/system/pulseaudio-system.service
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Configuration files for HDMI sound card
|
# Configuration files for HDMI sound card
|
||||||
if [ "${AUDIO_HDMI}" = "yes" ]; then
|
if [ "${AUDIO_HDMI}" = "yes" ]; then
|
||||||
install -d ${D}${sysconfdir}/udev/scripts
|
install -d ${D}${sysconfdir}/udev/scripts
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue