aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2018-04-17 17:30:25 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2018-04-17 17:39:19 +0200
commit63d3e4698fb3d0f3d6932f1a29d517afbf82353b (patch)
tree8045226a15c0d31cf1cae5392225d22a3b4543bd
parent094693ffbf006993b00919680cb595786fbd0c0b (diff)
downloadmeta-qcom-63d3e4698fb3d0f3d6932f1a29d517afbf82353b.zip
meta-qcom-63d3e4698fb3d0f3d6932f1a29d517afbf82353b.tar.gz
meta-qcom-63d3e4698fb3d0f3d6932f1a29d517afbf82353b.tar.bz2
qrtr.service: ensure qrtr modules are loaded
The modules should load automatically, but we are still suffering from race conditions. Until we fix that properly, we can use this workaround. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--recipes-support/qrtr/files/qrtr.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-support/qrtr/files/qrtr.service b/recipes-support/qrtr/files/qrtr.service
index e2f1952..33ceb84 100644
--- a/recipes-support/qrtr/files/qrtr.service
+++ b/recipes-support/qrtr/files/qrtr.service
@@ -3,6 +3,7 @@ Description=QRTR service
After=systemd-remount-fs.service
[Service]
+ExecStartPre=-/sbin/modprobe qrtr qrtr_smd
ExecStartPre=/usr/bin/qrtr-cfg 1
ExecStart=/usr/bin/qrtr-ns
RemainAfterExit=yes