diff options
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.patch | 32 |
1 files changed, 16 insertions, 16 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 index a6b241f854..7edff2614a 100644 --- 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 | |||
@@ -1,30 +1,30 @@ | |||
1 | From 333d5fbbc03481f1aa222bd68c2609db168ae3e0 Mon Sep 17 00:00:00 2001 | 1 | Upstream-Status: Backport (https://github.com/gregkh/usbutils/commit/508d1acf42e1bfd470c6bf1a188574c69c20aeed) |
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | 2 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
3 | Date: Thu, 26 Jul 2012 10:37:32 +0100 | ||
4 | Subject: [PATCH] usb-devices: avoid dependency on bash | ||
5 | 3 | ||
6 | By virtue of having #!/bin/bash this script declared that it requires | 4 | From 1c9162a5b30550aec8fa163906067bc179291b57 Mon Sep 17 00:00:00 2001 |
7 | bash, however manual examination, checkbashisms and tests with dash | 5 | From: Ross Burton <ross.burton@intel.com> |
8 | and busybox show that it doesn't contain any bashisms, so change the | 6 | Date: Fri, 27 Jul 2018 15:28:34 +0100 |
9 | header to avoid the dependency. | 7 | Subject: [PATCH] usb-devices: use /bin/sh |
10 | 8 | ||
11 | Upstream-Status: Pending | 9 | This script doesn't use any bashisms, so change the hashbang to /bin/sh. |
12 | 10 | ||
13 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | 11 | Fixes #73. |
12 | |||
13 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
14 | --- | 14 | --- |
15 | usb-devices | 2 +- | 15 | usb-devices | 2 +- |
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
17 | 17 | ||
18 | diff --git a/usb-devices b/usb-devices | 18 | diff --git a/usb-devices b/usb-devices |
19 | index b2052e2..14a5358 100755 | 19 | index afb4217..89d1b7d 100755 |
20 | --- a/usb-devices | 20 | --- a/usb-devices |
21 | +++ b/usb-devices | 21 | +++ b/usb-devices |
22 | @@ -1,4 +1,4 @@ | 22 | @@ -1,4 +1,4 @@ |
23 | -#!/bin/bash | 23 | -#!/bin/bash |
24 | +#!/bin/sh | 24 | +#!/bin/sh |
25 | 25 | # SPDX-License-Identifier: GPL-2.0+ | |
26 | # Copyright: 2009 Greg Kroah-Hartman <greg@kroah.com> | 26 | # |
27 | # 2009 Randy Dunlap <rdunlap@xenotime.net> | 27 | # Copyright (c) 2009 Greg Kroah-Hartman <greg@kroah.com> |
28 | -- | 28 | -- |
29 | 1.7.9.5 | 29 | 2.11.0 |
30 | 30 | ||