summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-11-30 16:08:01 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2013-12-05 19:48:08 +0100
commit98bfe33760acb74b67eba9d58ea7cac8cad6d810 (patch)
treed43079a538190ac98ce8f946c0835be6dc9ef066 /meta-oe
parentf7ab0eb3bab2924ba46994c0843efe970796da36 (diff)
downloadmeta-openembedded-98bfe33760acb74b67eba9d58ea7cac8cad6d810.tar.gz
xserver-common: Rename Xsession.d files to end with .sh extension
* oe-core version of xinput-calibrator installs 30xinput_calibrate.sh and ls -X used in Xsession script sorts it as last (not respecting the numbers) and xinput-calibrator is executed too late (after 90xXWindowManager) * don't forget to update all your components installing Xsession.d files as well Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
index 481e43899..5bc37b03f 100644
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
+++ b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
@@ -28,6 +28,13 @@ SRC_URI_append = " \
28 28
29do_install_append() { 29do_install_append() {
30 sed -i 's:^BINDIR=.*$:BINDIR=${bindir}:' ${D}/etc/X11/xserver-common 30 sed -i 's:^BINDIR=.*$:BINDIR=${bindir}:' ${D}/etc/X11/xserver-common
31 # Rename all Xsession files not ending with .sh
32 # Unfortunatelly when xinput-calibrator was moved to oe-core
33 # its Xsession file got name 30xinput_calibrate.sh and ls -X sorts it
34 # last, not respecting numbers for sorting them
35 for i in ${D}/${sysconfdir}/X11/Xsession.d/*; do
36 echo $i | grep '.sh$' || mv $i $i.sh
37 done
31} 38}
32 39
33inherit allarch 40inherit allarch