[oe-commits] [openembedded-core] 22/23: xserver-nodm-init: Respawn service in case of failure

git at git.openembedded.org git at git.openembedded.org
Fri Apr 13 15:59:25 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit c3935f11f2807ef73f224b6690886d863788310d
Author: Ramon Fried <rfried at codeaurora.org>
AuthorDate: Tue Apr 10 14:20:40 2018 +0300

    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.
    
    Signed-off-by: Ramon Fried <rfried at codeaurora.org>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 .../x11-common/xserver-nodm-init/xserver-nodm.service.in                 | 1 +
 1 file changed, 1 insertion(+)

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 324a26f..87dc4f8 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
 EnvironmentFile=/etc/default/xserver-nodm
 User=@USER@
 ExecStart=/etc/xserver-nodm/Xserver
+Restart=always
 
 [Install]
 Alias=display-manager.service

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list