summaryrefslogtreecommitdiffstats
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-09 23:00:44 +0100
commitaa45c75df989302ba8ae9deaf136b0046f0b4f84 (patch)
treea6e4285cc32e7a883462023eb9f0ae9acad2987f /meta/recipes-graphics/x11-common/x11-common/Xserver.in
parentd366a3319e7e938b4e24362db96562bc0d336cf7 (diff)
downloadpoky-aa45c75df989302ba8ae9deaf136b0046f0b4f84.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]. (From OE-Core rev: 32ac0bfb0167cb350be5d4b8faca490956dd7d93) 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 @@
1#!/bin/sh
2#
3
4XSERVER=/usr/bin/Xorg
5
6. /etc/profile
7
8ARGS=" -br -pn @BLANK_ARGS@"
9
10DISPLAY=':0'
11
12exec xinit /etc/X11/Xsession -- $XSERVER $DISPLAY $ARGS $*