summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-08-13 18:40:42 +0200
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-08-13 18:40:50 +0200
commit5735ce4e92a8ce026fec06ac6c638b6ffb14b993 (patch)
treea4ce6b72ba30a8ff88f5653c9bd211deaef76bef
parent6f96cd6bee80c17872bb3d6d2c9bb4081f1101af (diff)
downloadweston-common-5735ce4e92a8ce026fec06ac6c638b6ffb14b993.tar.gz
weston-common-5735ce4e92a8ce026fec06ac6c638b6ffb14b993.tar.bz2
weston-common-5735ce4e92a8ce026fec06ac6c638b6ffb14b993.zip
display: use fbdev backend if no drm availablesubmit/tizen/20140814.082639accepted/tizen/common/20140814.100421
Used as fallback for machines without GPU support (ie: ARM). Change-Id: I406e9628a9597736086881385cb5fea1d29dcc4c Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rw-r--r--display-manager-run.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/display-manager-run.service b/display-manager-run.service
index 313c8ed..19f53d6 100644
--- a/display-manager-run.service
+++ b/display-manager-run.service
@@ -4,7 +4,7 @@ Description=Weston display daemon
[Service]
User=display
WorkingDirectory=/run/%u
-ExecStart=/usr/bin/weston -i0 --log=%h/weston.log
+ExecStart=/bin/sh -c 'backend=drm ; [ -d /dev/dri ] || backend=fbdev ; exec /usr/bin/weston --backend=$backend-backend.so -i0 --log=%h/weston.log'
StandardInput=tty
TTYPath=/dev/tty7
EnvironmentFile=/etc/sysconfig/weston