summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2015-06-26 15:07:31 +0000
committerJonathan Maw <jonathan.maw@codethink.co.uk>2015-10-14 09:06:06 +0000
commit42b396b444abcd1f0bb6ff85a9da6dde7fcb0fe0 (patch)
tree03b27815278e4f4ae7abdd99d298bd1eb9b86cfd
parentf447908d15717eec21b8b7f5d06bf8160b8c6346 (diff)
downloaddefinitions-42b396b444abcd1f0bb6ff85a9da6dde7fcb0fe0.tar.gz
Fix timing issue causing gdp-hmi-panel to not appear
-rw-r--r--strata/genivi-demo-platform/genivi-demo-platform-hmi.morph14
1 files changed, 12 insertions, 2 deletions
diff --git a/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph b/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
index e08debd6..767ea3ce 100644
--- a/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
+++ b/strata/genivi-demo-platform/genivi-demo-platform-hmi.morph
@@ -56,7 +56,6 @@ install-commands:
[Unit]
Description=GENIVI Demo Platform HMI - Launcher2
Requires=gdp-hmi-controller.service
- After=gdp-hmi-panel.service
[Service]
Environment=LD_PRELOAD=/usr/lib/libEGL.so
@@ -104,6 +103,10 @@ install-commands:
Description=GENIVI Demo Platform HMI - Panel
Requires=gdp-hmi-controller.service
After=gdp-hmi-background.service
+ After=EGLWLMockNavigation.service
+ After=EGLWLInputEventExample.service
+ After=demoui.service
+ After=qml-example.service
[Service]
Environment=LD_PRELOAD=/usr/lib/libEGL.so
@@ -112,7 +115,14 @@ install-commands:
[Install]
WantedBy=default.target
EOF
-- cd "$DESTDIR/usr/lib/systemd/user/default.target.wants" && ln -s ../gdp-hmi-panel.service .
+- mkdir -p "$DESTDIR/usr/lib/systemd/user/EGLWLMockNavigation.service.wants"
+- cd "$DESTDIR/usr/lib/systemd/user/EGLWLMockNavigation.service.wants" && ln -s ../gdp-hmi-panel.service .
+- mkdir -p "$DESTDIR/usr/lib/systemd/user/EGLWLInputEventExample.service.wants"
+- cd "$DESTDIR/usr/lib/systemd/user/EGLWLInputEventExample.service.wants" && ln -s ../gdp-hmi-panel.service .
+- mkdir -p "$DESTDIR/usr/lib/systemd/user/demoui.service.wants"
+- cd "$DESTDIR/usr/lib/systemd/user/demoui.service.wants" && ln -s ../gdp-hmi-panel.service .
+- mkdir -p "$DESTDIR/usr/lib/systemd/user/qml-example.service.wants"
+- cd "$DESTDIR/usr/lib/systemd/user/qml-example.service.wants" && ln -s ../gdp-hmi-panel.service .
- |
cat >"$DESTDIR/usr/lib/systemd/user/EGLWLMockNavigation.service" <<EOF
[Unit]