[meta-freescale] [meta-fsl-demos][PATCH] qt-in-industrial-embedded-smarthome: correct smarthome binary path

Leonardo Sandoval leonardo.sandoval at freescale.com
Thu Jan 24 09:39:32 PST 2013


Tested on imx6qsabresd machine. Solves bug:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=3571

[YOCTO #3571]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval at freescale.com>
---
 .../qt-in-use/qt-in-industrial-embedded-common.inc |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc b/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc
index 820e899..9aa52ae 100644
--- a/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc
+++ b/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc
@@ -15,6 +15,11 @@ do_configure_prepend() {
 	find ${S} -type f -exec sed -i 's,/usr/local,/usr,g' '{}' ';'
 }
 
+do_install_append () {
+    # Set the correct smarthome binary path
+    sed -i -e 's:Exec=.*:Exec=${bindir}/smarthome:g' ${D}/usr/share/applications/smarthome.desktop
+}
+
 FILES_${PN} += "${datadir}/${DEMO} ${datadir}/icons"
 RDEPENDS_${PN} += " \
     ${QT_BASE_NAME}-qml-plugins \
-- 
1.7.9.5





More information about the meta-freescale mailing list