aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-graphics/wayland/weston-init/init
diff options
context:
space:
mode:
authorStephen Lawrence <stephen.lawrence@renesas.com>2017-07-24 17:54:57 +0100
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-09-15 10:20:15 +0200
commite493fb8edc4d3acb1d3ff7822ef5af3f0ca794df (patch)
tree7ecf0e3991f087f9486f08080ce22f470c561aa1 /meta-rcar-gen3/recipes-graphics/wayland/weston-init/init
parentbf28a005deaa3ce5d6c5d43d233822983b859cf4 (diff)
wayland: use poky meta wayland/weston
Support for Weston 2.0 will appear in the Renesas Weston implementation in an upcoming Yocto BSP release. Until it appears use the upstream reference implementation in Poky Meta, with "GPU only" h/w acceleration. Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-graphics/wayland/weston-init/init')
-rw-r--r--meta-rcar-gen3/recipes-graphics/wayland/weston-init/init53
1 files changed, 0 insertions, 53 deletions
diff --git a/meta-rcar-gen3/recipes-graphics/wayland/weston-init/init b/meta-rcar-gen3/recipes-graphics/wayland/weston-init/init
deleted file mode 100644
index d3e87c6..0000000
--- a/meta-rcar-gen3/recipes-graphics/wayland/weston-init/init
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-#
-### BEGIN INIT INFO
-# Provides: weston
-# Required-Start: $local_fs $remote_fs
-# Required-Stop: $local_fs $remote_fs
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-### END INIT INFO
-
-if test -e /etc/default/weston ; then
- . /etc/default/weston
-fi
-
-killproc() {
- pid=`/bin/pidof $1`
- [ "$pid" != "" ] && kill $pid
-}
-
-read CMDLINE < /proc/cmdline
-for x in $CMDLINE; do
- case $x in
- weston=false)
- echo "Weston disabled"
- exit 0;
- ;;
- esac
-done
-
-case "$1" in
- start)
- . /etc/profile
-
- weston-start -- $OPTARGS
- ;;
-
- stop)
- echo "Stopping Weston"
- killproc weston
- ;;
-
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
-
- *)
- echo "usage: $0 { start | stop | restart }"
- ;;
-esac
-
-exit 0