poky/meta/recipes-graphics/x11-common/x11-common_0.1.bb
Wolfgang Denk 0d3591db9c x11-common: Fix unusable serial console
The serial console port is basicly unusable in images containing X.
Login works fine, but at the shell prompt only one out of N input
characters (N usually between 2 and 10) gets through to the shell.

dbus-launch (running as "dbus-launch --sh-syntax --exit-with-session")
is also reading from /dev/console and "eating" the missing characters.

As soon as I stop the Xserver ("sh /etc/init.d/xserver-nodm stop")
the serial console starts wroking fine (because dbus-launch is not
running any more).

This patch addresses the problem.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18 16:41:25 +00:00

18 lines
379 B
BlitzBasic

DESCRIPTION = "Common X11 scripts"
LICENSE = "GPLv2"
SECTION = "x11"
RDEPENDS_${PN} = "xmodmap xdpyinfo xtscal xinit formfactor"
PR = "r39"
SRC_URI = "file://etc"
S = ${WORKDIR}
PACKAGE_ARCH = "all"
do_install() {
cp -R ${S}/etc ${D}/etc
chmod -R 755 ${D}/etc
find ${D}/etc -type d -name .svn -prune -exec rm -rf {} \;
find ${D}/etc -type f -name \*~ -exec rm -rf {} \;
}