diff options
author | Ramon Fried <rfried@codeaurora.org> | 2018-04-10 14:20:40 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-13 16:58:07 +0100 |
commit | 6f04c728a0618acc6b4adf75b6c2f69025bf81f4 (patch) | |
tree | 0e6d2b9048c9e28a578dba6d2f33a94162467ad1 /meta/recipes-graphics | |
parent | 18fd9004689060e23b6775881f0a20e173f20bea (diff) | |
download | poky-6f04c728a0618acc6b4adf75b6c2f69025bf81f4.tar.gz |
xserver-nodm-init: Respawn service in case of failure
It appears that sometimes xserver-nodm.service is starting before
display driver finished loading causing the following failure in
Xorg log:
(EE) open /dev/dri/card0: No such file or directory
The introduced by this patch is to restart the service,
hopefully the display driver will finish loading.
(From OE-Core rev: c3935f11f2807ef73f224b6690886d863788310d)
Signed-off-by: Ramon Fried <rfried@codeaurora.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service.in b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service.in index 324a26f549..87dc4f8fcd 100644 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service.in +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service.in | |||
@@ -5,6 +5,7 @@ Description=Xserver startup without a display manager | |||
5 | EnvironmentFile=/etc/default/xserver-nodm | 5 | EnvironmentFile=/etc/default/xserver-nodm |
6 | User=@USER@ | 6 | User=@USER@ |
7 | ExecStart=/etc/xserver-nodm/Xserver | 7 | ExecStart=/etc/xserver-nodm/Xserver |
8 | Restart=always | ||
8 | 9 | ||
9 | [Install] | 10 | [Install] |
10 | Alias=display-manager.service | 11 | Alias=display-manager.service |