Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 ...stat.sh-replace-system-bin-sh-with-bin-sh.patch | 23 ++++++++++++++++++++++
 .../wl18xx-target-scripts_8.7.1.bb                 |  8 ++++++--
 2 files changed, 29 insertions(+), 2 deletions(-)
 create mode 100644 
recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts/0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch

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 0000000..c0719e3
--- /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 <[email protected]>
+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 <[email protected]>
+---
+ 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 07a164b..49ac4c9 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/
-- 
2.7.4

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to