summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/usbutils/usbutils/usb-devices-avoid-dependency-on-bash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/usbutils/usbutils/usb-devices-avoid-dependency-on-bash.patch')
-rw-r--r--meta/recipes-bsp/usbutils/usbutils/usb-devices-avoid-dependency-on-bash.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-bsp/usbutils/usbutils/usb-devices-avoid-dependency-on-bash.patch b/meta/recipes-bsp/usbutils/usbutils/usb-devices-avoid-dependency-on-bash.patch
new file mode 100644
index 0000000..a6b241f
--- /dev/null
+++ b/meta/recipes-bsp/usbutils/usbutils/usb-devices-avoid-dependency-on-bash.patch
@@ -0,0 +1,30 @@
1From 333d5fbbc03481f1aa222bd68c2609db168ae3e0 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Thu, 26 Jul 2012 10:37:32 +0100
4Subject: [PATCH] usb-devices: avoid dependency on bash
5
6By virtue of having #!/bin/bash this script declared that it requires
7bash, however manual examination, checkbashisms and tests with dash
8and busybox show that it doesn't contain any bashisms, so change the
9header to avoid the dependency.
10
11Upstream-Status: Pending
12
13Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
14---
15 usb-devices | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/usb-devices b/usb-devices
19index b2052e2..14a5358 100755
20--- a/usb-devices
21+++ b/usb-devices
22@@ -1,4 +1,4 @@
23-#!/bin/bash
24+#!/bin/sh
25
26 # Copyright: 2009 Greg Kroah-Hartman <greg@kroah.com>
27 # 2009 Randy Dunlap <rdunlap@xenotime.net>
28--
291.7.9.5
30