summaryrefslogtreecommitdiffstats
path: root/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/qtlauncher.service
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2016-09-02 12:46:16 +0300
committerKalle Viironen <kalle.viironen@theqtcompany.com>2016-11-21 08:20:59 +0000
commitcbb9502193d49293e7cac62370d3649cdba9ba62 (patch)
treedb9d57cf236559b2e3a05b980589dfc32a155be6 /recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/qtlauncher.service
parent8e102951ebcbdb8017226830e33a9354cf85b97e (diff)
downloadmeta-boot2qt-cbb9502193d49293e7cac62370d3649cdba9ba62.tar.gz
beaglebone: start qtlauncher only after /dev/fb0 exists
Beaglebone creates /dev/fb0 late in the boot process, which causes Qt applications to crash if started too early. Make systemd notice fb0 creation and bind application startup to it. (cherry picked from commit 300a9420bce2bcf4e0fffe30dae5cb0504e2cadb) Change-Id: I8875334407c5a01bd6597e2c4fc1af96e396c639 Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
Diffstat (limited to 'recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/qtlauncher.service')
-rw-r--r--recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/qtlauncher.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/qtlauncher.service b/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/qtlauncher.service
new file mode 100644
index 0000000..1094675
--- /dev/null
+++ b/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/qtlauncher.service
@@ -0,0 +1,11 @@
1[Unit]
2Description=B2Qt Launcher Demo
3BindsTo=dev-fb0.device
4After=dev-fb0.device
5ConditionPathExists=!/usr/bin/b2qt
6
7[Service]
8ExecStart=-/usr/bin/appcontroller /usr/bin/qtlauncher --applications-root /data/user/qt
9
10[Install]
11WantedBy=multi-user.target