mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
xserver-kdrive-common: run calibration only on machines with touchscreen
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1904 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ]
|
||||
do
|
||||
/usr/bin/xtscal
|
||||
done
|
||||
. /etc/formfactor/config
|
||||
|
||||
if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
|
||||
while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ]
|
||||
do
|
||||
/usr/bin/xtscal
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts"
|
||||
LICENSE = "GPL"
|
||||
SECTION = "x11"
|
||||
RDEPENDS_${PN} = "xmodmap libxrandr xdpyinfo xtscal xinit formfactor"
|
||||
PR = "r17"
|
||||
PR = "r18"
|
||||
|
||||
SRC_URI = "file://etc"
|
||||
S = ${WORKDIR}
|
||||
@@ -15,4 +15,4 @@ do_install() {
|
||||
rm -fR ${D}/etc/*/.svn
|
||||
rm -fR ${D}/etc/*/*/.svn
|
||||
chmod -R 755 ${D}/etc
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user