aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/x11-common/x11-common/Xserver.in
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-04-07 14:49:44 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-08 07:56:02 +0100
commit32ac0bfb0167cb350be5d4b8faca490956dd7d93 (patch)
tree101426ae34541ed620bb0f361745739c9c0c232f /meta/recipes-graphics/x11-common/x11-common/Xserver.in
parente3e305135d258bee3ae30a2c7262b886d710b986 (diff)
downloadopenembedded-core-contrib-32ac0bfb0167cb350be5d4b8faca490956dd7d93.tar.gz
x11-common: Add PACKAGECONFIG for screen blanking
when "blank" is not in PACKAGECONFIG, explicitly set dpms and screensaver off. The intention here is to make it easier to create builds that should not blank the screen (just remove "blank" from x11-common PACKAGECONFIG). Also remove a unneeded "find -exec rm" from do_install. Partly fixes [YOCTO #7278]. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/x11-common/x11-common/Xserver.in')
-rw-r--r--meta/recipes-graphics/x11-common/x11-common/Xserver.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-graphics/x11-common/x11-common/Xserver.in b/meta/recipes-graphics/x11-common/x11-common/Xserver.in
new file mode 100644
index 0000000000..b8eed7610f
--- /dev/null
+++ b/meta/recipes-graphics/x11-common/x11-common/Xserver.in
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+
+XSERVER=/usr/bin/Xorg
+
+. /etc/profile
+
+ARGS=" -br -pn @BLANK_ARGS@"
+
+DISPLAY=':0'
+
+exec xinit /etc/X11/Xsession -- $XSERVER $DISPLAY $ARGS $*