mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
xserver-nodm-init: Make sure kdrive servers have the console keyboard enabled
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -30,12 +30,9 @@ ARGS=" -br -pn"
|
||||
|
||||
if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
|
||||
|
||||
. /etc/formfactor/config
|
||||
. /etc/formfactor/config
|
||||
|
||||
# use ucb 1x00 touchscreen if present
|
||||
if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/touchscreen/ucb1x00 ]; then
|
||||
ARGS="$ARGS -mouse /dev/touchscreen/ucb1x00"
|
||||
fi
|
||||
ARGS="$ARGS -keybd keyboard"
|
||||
|
||||
# use usb mouse if present
|
||||
if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/input/mice ]; then
|
||||
@@ -78,4 +75,3 @@ fi
|
||||
DISPLAY=':0'
|
||||
|
||||
exec xinit /etc/X11/Xsession -- $XSERVER $DISPLAY $ARGS $*
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)"
|
||||
LICENSE = "GPL"
|
||||
SECTION = "x11"
|
||||
PRIORITY = "optional"
|
||||
PR = "r21"
|
||||
PR = "r22"
|
||||
RDEPENDS_${PN} = "dbus-wait sudo"
|
||||
|
||||
SRC_URI = "file://xserver-nodm"
|
||||
@@ -14,7 +14,7 @@ do_install() {
|
||||
install -d ${D}/etc
|
||||
install -d ${D}/etc/init.d
|
||||
install xserver-nodm ${D}/etc/init.d
|
||||
}
|
||||
}
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
|
||||
Reference in New Issue
Block a user