summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation/poiapp_git.bb
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-02-15 17:11:30 +0100
committerronan Le Martret <ronan@iot.bzh>2017-02-17 10:23:40 +0000
commit5f52a2cf2a739ab14c74d54f383e527a2c3676b9 (patch)
treec2e574671ca6ebe6cb18e89218519d547839fd8c /recipes-demo-hmi/navigation/poiapp_git.bb
parent5679bb5985dfbb5b952ce954f3cd552f2b1aab8d (diff)
Fixed demo recipes to auto-install wgt app at first boot
* link to gerrit review 8473 (meta-agl-extra) Change-Id: I8d8c03654d4eee14bb28449d29afd4c75fac6385 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> (cherry picked from commit 7bb3630d56eaf54bbb59bfac22ddca695f8d9dcd)
Diffstat (limited to 'recipes-demo-hmi/navigation/poiapp_git.bb')
-rwxr-xr-xrecipes-demo-hmi/navigation/poiapp_git.bb9
1 files changed, 4 insertions, 5 deletions
diff --git a/recipes-demo-hmi/navigation/poiapp_git.bb b/recipes-demo-hmi/navigation/poiapp_git.bb
index c6fa5d094..b91d87d89 100755
--- a/recipes-demo-hmi/navigation/poiapp_git.bb
+++ b/recipes-demo-hmi/navigation/poiapp_git.bb
@@ -7,6 +7,7 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=947b2d60ca3872e172034438e9801200"
inherit cmake_qt5 pkgconfig
+inherit aglwgt
DEPENDS += " qtbase libdbus-c++ json-c \
"
@@ -22,10 +23,8 @@ do_install_append() {
mkdir -p ${WORKDIR}/widget
install -m 0644 ${WORKDIR}/config.xml ${WORKDIR}/widget
install -m 0755 ${D}/usr/bin/yelp-client ${WORKDIR}/widget/poi
- zip -ju ${WORKDIR}/widget/poi.wgt ${WORKDIR}/widget/poi ${WORKDIR}/widget/config.xml
- install -d ${D}/usr/AGL/apps
- install -m 0644 ${WORKDIR}/widget/poi.wgt ${D}/usr/AGL/apps/
-}
+ mkdir -p ${B}/package
+ zip -ju ${B}/package/poi.wgt ${WORKDIR}/widget/poi ${WORKDIR}/widget/config.xml
-FILES_${PN} += " /usr/AGL/apps/poi.wgt "
+}