diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2016-08-30 11:32:09 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-08 08:25:18 +0100 |
commit | 877851cf0f76a5052900954670fb64aed27a7a1f (patch) | |
tree | 013fe438ccbb3613420d5dc610518f5d1b57c27f | |
parent | e8ce3d2626e505924a75de96650abca166fd230a (diff) | |
download | openembedded-core-877851cf0f76a5052900954670fb64aed27a7a1f.tar.gz openembedded-core-877851cf0f76a5052900954670fb64aed27a7a1f.tar.bz2 openembedded-core-877851cf0f76a5052900954670fb64aed27a7a1f.zip |
x11-common: Remove Xserver script
X startup is now handled in xserver-nodm-init.
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/x11-common/x11-common/Xserver.in | 12 | ||||
-rw-r--r-- | meta/recipes-graphics/x11-common/x11-common_0.1.bb | 10 |
2 files changed, 1 insertions, 21 deletions
diff --git a/meta/recipes-graphics/x11-common/x11-common/Xserver.in b/meta/recipes-graphics/x11-common/x11-common/Xserver.in deleted file mode 100644 index b8eed7610f..0000000000 --- a/meta/recipes-graphics/x11-common/x11-common/Xserver.in +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# - -XSERVER=/usr/bin/Xorg - -. /etc/profile - -ARGS=" -br -pn @BLANK_ARGS@" - -DISPLAY=':0' - -exec xinit /etc/X11/Xsession -- $XSERVER $DISPLAY $ARGS $* diff --git a/meta/recipes-graphics/x11-common/x11-common_0.1.bb b/meta/recipes-graphics/x11-common/x11-common_0.1.bb index 2bc0d33226..ab9a939ce0 100644 --- a/meta/recipes-graphics/x11-common/x11-common_0.1.bb +++ b/meta/recipes-graphics/x11-common/x11-common_0.1.bb @@ -9,22 +9,14 @@ inherit distro_features_check REQUIRED_DISTRO_FEATURES = "x11" SRC_URI = "file://etc \ - file://Xserver.in \ file://gplv2-license.patch" S = "${WORKDIR}" -PACKAGECONFIG ??= "blank" -# dpms and screen saver will be on only if 'blank' is in PACKAGECONFIG -PACKAGECONFIG[blank] = "" - do_install() { cp -R ${S}/etc ${D}${sysconfdir} - sed -e 's/@BLANK_ARGS@/${@bb.utils.contains('PACKAGECONFIG', 'blank', '', '-s 0 -dpms', d)}/' \ - ${S}/Xserver.in > ${D}${sysconfdir}/X11/Xserver - chmod -R 755 ${D}${sysconfdir} } -RDEPENDS_${PN} = "dbus-x11 xmodmap xdpyinfo xinput-calibrator xinit formfactor" +RDEPENDS_${PN} = "dbus-x11 xmodmap xdpyinfo xinput-calibrator formfactor" |