diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-core/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-core/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch')
-rw-r--r-- | meta/recipes-core/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-core/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch b/meta/recipes-core/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch new file mode 100644 index 0000000000..41deafa918 --- /dev/null +++ b/meta/recipes-core/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 0f8290c943da298abd269ca60fd8375dfb219971 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexandru DAMIAN <alexandru.damian@intel.com> | ||
3 | Date: Thu, 12 Jul 2012 12:54:48 +0300 | ||
4 | Subject: [PATCH] Fixing keyboard_force_release.sh shell script path | ||
5 | |||
6 | With the introduction of rootprefix, the keyboard-force-release.sh.in | ||
7 | was modified to be executed with @rootprefix@/bin/sh, which is wrong | ||
8 | because @rootprefix@ defaults to /usr (which is correct), but the | ||
9 | shell is always at /bin/sh (IEEE Std 1003.2-1992). | ||
10 | |||
11 | Therefore the interpreter for shell scripts needs to be /bin/sh at all times. | ||
12 | |||
13 | The upstream moved to configurable root prefix, this patch taclkes a | ||
14 | transition bug, and will not be applied upstream. | ||
15 | |||
16 | Upstream-Status: Inappropriate [legacy version] | ||
17 | |||
18 | Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> | ||
19 | --- | ||
20 | src/keymap/keyboard-force-release.sh.in | 2 +- | ||
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
22 | |||
23 | diff --git a/src/keymap/keyboard-force-release.sh.in b/src/keymap/keyboard-force-release.sh.in | ||
24 | index dd040ce..597a3a6 100755 | ||
25 | --- a/src/keymap/keyboard-force-release.sh.in | ||
26 | +++ b/src/keymap/keyboard-force-release.sh.in | ||
27 | @@ -1,4 +1,4 @@ | ||
28 | -#!@rootprefix@/bin/sh -e | ||
29 | +#!/bin/sh -e | ||
30 | # read list of scancodes, convert hex to decimal and | ||
31 | # append to the atkbd force_release sysfs attribute | ||
32 | # $1 sysfs devpath for serioX | ||
33 | -- | ||
34 | 1.7.9.5 | ||
35 | |||