pulseaudio: disable memfd for CC6

Pulseaudio 9.0 relies on the syscall memfd_create, which was introduced
in kernel 3.17, but the version currently supported for the CC6 SBC is
3.14.

There is a corner case where the configure script does not detect the
actual kernel version, thus enabling memfd_create. When Pulseadio tries
to call memfd_create, it shows error messages, so disable memfd
explicitly.

https://jira.digi.com/browse/DEL-3923

Signed-off-by: Alejandro Navarro <alejandro.navarro@digi.com>
This commit is contained in:
Alejandro Navarro 2017-04-26 16:15:53 +02:00
parent d3bb596732
commit 45f84286a3
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ SRC_URI_append_ccimx6sbc = " \
file://dey-audio-sgtl5000.conf \ file://dey-audio-sgtl5000.conf \
" "
EXTRA_OECONF_append_ccimx6sbc = " --disable-memfd"
do_install_append_ccimx6sbc() { do_install_append_ccimx6sbc() {
install -d ${D}${sysconfdir}/udev/scripts install -d ${D}${sysconfdir}/udev/scripts
install -m 0755 ${WORKDIR}/hdmi_hotplug.sh ${D}${sysconfdir}/udev/scripts install -m 0755 ${WORKDIR}/hdmi_hotplug.sh ${D}${sysconfdir}/udev/scripts