aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro-integration/recipes-overlayed/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2014-08-20 13:45:42 +0300
committerRiku Voipio <riku.voipio@linaro.org>2014-08-20 13:49:27 +0300
commitca4bc75d5fd9f7b82e507a50cebf08628cf897bc (patch)
tree20a9d1e452012dd6adce0e45775cfec3bb9fd088 /meta-linaro-integration/recipes-overlayed/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch
parent57269d73e00d4d4022853e70e4d155f0b3d5cda2 (diff)
downloadmeta-linaro-ca4bc75d5fd9f7b82e507a50cebf08628cf897bc.tar.gz
udev: overlay for postgres fix14.08
Fix for https://bugs.linaro.org/show_bug.cgi?id=336 Change-Id: Ia8f4296a42cd96eb3943648b8ef38e5ecf848008 Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'meta-linaro-integration/recipes-overlayed/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch')
-rw-r--r--meta-linaro-integration/recipes-overlayed/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-linaro-integration/recipes-overlayed/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch b/meta-linaro-integration/recipes-overlayed/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch
new file mode 100644
index 00000000..41deafa9
--- /dev/null
+++ b/meta-linaro-integration/recipes-overlayed/udev/udev/0001-Fixing-keyboard_force_release.sh-shell-script-path.patch
@@ -0,0 +1,35 @@
+From 0f8290c943da298abd269ca60fd8375dfb219971 Mon Sep 17 00:00:00 2001
+From: Alexandru DAMIAN <alexandru.damian@intel.com>
+Date: Thu, 12 Jul 2012 12:54:48 +0300
+Subject: [PATCH] Fixing keyboard_force_release.sh shell script path
+
+With the introduction of rootprefix, the keyboard-force-release.sh.in
+was modified to be executed with @rootprefix@/bin/sh, which is wrong
+because @rootprefix@ defaults to /usr (which is correct), but the
+shell is always at /bin/sh (IEEE Std 1003.2-1992).
+
+Therefore the interpreter for shell scripts needs to be /bin/sh at all times.
+
+The upstream moved to configurable root prefix, this patch taclkes a
+transition bug, and will not be applied upstream.
+
+Upstream-Status: Inappropriate [legacy version]
+
+Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
+---
+ src/keymap/keyboard-force-release.sh.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/keymap/keyboard-force-release.sh.in b/src/keymap/keyboard-force-release.sh.in
+index dd040ce..597a3a6 100755
+--- a/src/keymap/keyboard-force-release.sh.in
++++ b/src/keymap/keyboard-force-release.sh.in
+@@ -1,4 +1,4 @@
+-#!@rootprefix@/bin/sh -e
++#!/bin/sh -e
+ # read list of scancodes, convert hex to decimal and
+ # append to the atkbd force_release sysfs attribute
+ # $1 sysfs devpath for serioX
+--
+1.7.9.5
+