aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2017-11-11 04:25:55 +0000
committerDenys Dmytriyenko <denys@ti.com>2017-11-13 11:48:42 -0500
commite3b3c89b9163f16a5aa652d44fe337fa337e48a2 (patch)
tree36ec694fd7d57158a7caf177da22425eda6e8afa /recipes-connectivity
parent98e1dc1bed14e9685e7f6306469b36be109fb318 (diff)
downloadmeta-ti-e3b3c89b9163f16a5aa652d44fe337fa337e48a2.tar.gz
meta-ti-e3b3c89b9163f16a5aa652d44fe337fa337e48a2.tar.bz2
meta-ti-e3b3c89b9163f16a5aa652d44fe337fa337e48a2.zip
wl18xx-target-scripts: replace /system/bin/sh with /bin/sh in one script
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-connectivity')
-rw-r--r--recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts/0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch23
-rw-r--r--recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_8.7.1.bb8
2 files changed, 29 insertions, 2 deletions
diff --git a/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts/0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch b/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts/0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch
new file mode 100644
index 00000000..c0719e34
--- /dev/null
+++ b/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts/0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch
@@ -0,0 +1,23 @@
+From ba1ac3862c8c3b2dbb615dc342b7fb1eaa96900f Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <denys@ti.com>
+Date: Fri, 10 Nov 2017 17:02:39 -0500
+Subject: [PATCH] print_stat.sh: replace /system/bin/sh with /bin/sh
+
+Signed-off-by: Denys Dmytriyenko <denys@ti.com>
+---
+ testing/print_stat.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/testing/print_stat.sh b/testing/print_stat.sh
+index 681a063..0a519f6 100755
+--- a/testing/print_stat.sh
++++ b/testing/print_stat.sh
+@@ -1,4 +1,4 @@
+-#!/system/bin/sh
++#!/bin/sh
+
+ PHY=`ls /sys/class/ieee80211/`
+ mkdir -p /debug
+--
+2.7.4
+
diff --git a/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_8.7.1.bb b/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_8.7.1.bb
index 07a164be..49ac4c9c 100644
--- a/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_8.7.1.bb
+++ b/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_8.7.1.bb
@@ -5,7 +5,11 @@ LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=b8d6a0865f50159bf5c
# Tag: R8.7_SP1 (8.7.1)
SRCREV = "a07b6e711d2a70608101d3d6cdc5749c4d8a96d5"
BRANCH = "sitara-scripts"
-SRC_URI = "git://git.ti.com/wilink8-wlan/wl18xx-target-scripts.git;protocol=git;branch=${BRANCH}"
+SRC_URI = "git://git.ti.com/wilink8-wlan/wl18xx-target-scripts.git;protocol=git;branch=${BRANCH} \
+file://0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch \
+"
+
+PR = "r1"
S = "${WORKDIR}/git"
@@ -14,7 +18,7 @@ FILES_${PN} += "${datadir}/wl18xx/"
do_install() {
install -d ${D}${datadir}/wl18xx/
- scripts=`find ./ -type f -name "*.*"`
+ scripts=`find ./* -type f -name "*.*"`
for s in $scripts
do
install -m 0755 $s ${D}${datadir}/wl18xx/