aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation/mapviewer_%.bbappend
diff options
context:
space:
mode:
authorToshi Umemura <toshihiro.umemura@itage.co.jp>2016-12-19 18:10:59 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-12-27 14:54:43 +0000
commit58e35ecf32af3aaf18af1e9576de74892f61cae5 (patch)
tree3d746846df135ec716ec833d2277405361ba44e7 /recipes-demo-hmi/navigation/mapviewer_%.bbappend
parent0a57ab1ff1bb75f529bc46ae1e96ce4d80c68979 (diff)
Add recipe for mapviewer
This patch addes recipe for mapviewer. mapviewer is a child application which communicates with navigation app on homescreen. In CES2017 demo this app is launched at virtual screen next to homescreen. (invisible on homescreen) Mapviewer dislay on virtual screen is transported to meter cluster side via ethernet. That will be shown at center of meter cluster with 384x368. window manager tries to change the position to be sent to a cluster after systemd execute LayerManagerControl set surface. In order to avoid this sleep is added as a tentative solution. Change-Id: I903ef19b2550b01e1c90e8960d1edda01b46297d Signed-off-by: ynakamura <ynakamura@jp.adit-jv.com> Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
Diffstat (limited to 'recipes-demo-hmi/navigation/mapviewer_%.bbappend')
-rw-r--r--recipes-demo-hmi/navigation/mapviewer_%.bbappend20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-demo-hmi/navigation/mapviewer_%.bbappend b/recipes-demo-hmi/navigation/mapviewer_%.bbappend
new file mode 100644
index 000000000..3049a6741
--- /dev/null
+++ b/recipes-demo-hmi/navigation/mapviewer_%.bbappend
@@ -0,0 +1,20 @@
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+
+SRC_URI_append = "\
+ file://mapviewer.service \
+ "
+
+inherit systemd
+
+SYSTEMD_PACKAGES = "${PN}"
+
+do_install_append() {
+ # Install systemd unit files
+ if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
+ install -m 644 -p -D ${WORKDIR}/mapviewer.service ${D}${systemd_system_unitdir}/mapviewer.service
+ fi
+}
+
+FILES_${PN} += " \
+ ${systemd_system_unitdir}/mapviewer.service \
+ "