- systemd starts Weston service much before DDK initialization
- Ensure that Weston service is started *after rc.pvr.service

Signed-off-by: Anand Balagopalakrishnan <[email protected]>
---
 .../wayland/weston-init/weston.service             |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 
meta-arago-distro/recipes-graphics/wayland/weston-init/weston.service

diff --git 
a/meta-arago-distro/recipes-graphics/wayland/weston-init/weston.service 
b/meta-arago-distro/recipes-graphics/wayland/weston-init/weston.service
new file mode 100644
index 0000000..401c10e
--- /dev/null
+++ b/meta-arago-distro/recipes-graphics/wayland/weston-init/weston.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Weston Wayland compositor startup
+RequiresMountsFor=/run
+After=rc.pvr.service
+
+[Service]
+User=root
+EnvironmentFile=-/etc/default/weston
+Environment="XDG_RUNTIME_DIR=/run/user/root"
+ExecStartPre=/bin/mkdir -p /run/user/root
+ExecStartPre=/bin/chmod 0700 /run/user/root
+ExecStart=/usr/bin/openvt -v -e /usr/bin/weston -- $OPTARGS
+
+[Install]
+WantedBy=multi-user.target
+
-- 
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to