summaryrefslogtreecommitdiffstats
path: root/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/b2qt.service
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2016-09-02 12:46:16 +0300
committerJędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>2016-10-03 07:53:55 +0000
commit300a9420bce2bcf4e0fffe30dae5cb0504e2cadb (patch)
tree9837f4d1d67950f05eb27cc1098937dd4321da60 /recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/b2qt.service
parent923819e55b5b130ea514b4066f2d164fd8234e51 (diff)
downloadmeta-boot2qt-300a9420bce2bcf4e0fffe30dae5cb0504e2cadb.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. Change-Id: I0207fb64ec981eaeadbe497de5a9bdc941b6e31d Reviewed-by: Risto Avila <risto.avila@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Diffstat (limited to 'recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/b2qt.service')
-rw-r--r--recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/b2qt.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/b2qt.service b/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/b2qt.service
new file mode 100644
index 0000000..cdf6480
--- /dev/null
+++ b/recipes-qt/b2qt-addons/b2qt-launcher/beaglebone/b2qt.service
@@ -0,0 +1,11 @@
1[Unit]
2Description=B2Qt user application
3BindsTo=dev-fb0.device
4After=dev-fb0.device
5ConditionPathExists=/usr/bin/b2qt
6
7[Service]
8ExecStart=-/usr/bin/appcontroller /usr/bin/b2qt
9
10[Install]
11WantedBy=multi-user.target