Providing absolute path to avoid breakage during configure.
This patch has to be applied on branch 4.0

Signed-off-by: Sujith H <sujit...@gmail.com>
---
 recipes-multimedia/pulseaudio/pulseaudio_3.0.bbappend | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/recipes-multimedia/pulseaudio/pulseaudio_3.0.bbappend 
b/recipes-multimedia/pulseaudio/pulseaudio_3.0.bbappend
index 1239f5c..849aeb0 100644
--- a/recipes-multimedia/pulseaudio/pulseaudio_3.0.bbappend
+++ b/recipes-multimedia/pulseaudio/pulseaudio_3.0.bbappend
@@ -1,4 +1,4 @@
-PRINC := "${@int(PRINC) + 4}"
+PRINC := "${@int(PRINC) + 5}"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
@@ -26,9 +26,9 @@ do_configure_append () {
        # udev_get_dev_path(), udev_get_sys_path(), udev_get_run_path()
        # systemd does not allow to configure any of these filesystem paths
        # udev is included in systemd
-       sed -i 's:udev_get_sys_path(udev):"/sys":' 
src/modules/module-udev-detect.c
-       sed -i 's:udev_get_sys_path(udev):"/sys":' src/modules/udev-util.c
-       sed -i 's:udev_get_dev_path(u->udev):"/dev":' 
src/modules/module-udev-detect.c
+       sed -i 's:udev_get_sys_path(udev):"/sys":' 
${S}/src/modules/module-udev-detect.c
+       sed -i 's:udev_get_sys_path(udev):"/sys":' ${S}/src/modules/udev-util.c
+       sed -i 's:udev_get_dev_path(u->udev):"/dev":' 
${S}/src/modules/module-udev-detect.c
 }
 
 do_install_append() {
@@ -36,4 +36,4 @@ do_install_append() {
         install -d ${D}${systemd_unitdir}/system/
         install -m 0644 ${WORKDIR}/pulseaudio.service 
${D}${systemd_unitdir}/system
     fi
-}
\ No newline at end of file
+}
-- 
1.8.1.4

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to