summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2016-06-01 16:25:55 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-03 13:13:25 +0100
commitd62aed12e741e745dff47636dc03e2d7a82571da (patch)
treef977569cb1c2a5012f58657b41a35f2ee94f4293
parentb6951c7c38f114373268df9b758835d7e1560ff0 (diff)
downloadpoky-d62aed12e741e745dff47636dc03e2d7a82571da.tar.gz
iw: update to version 4.7
4.3 -> 4.7 Refreshed the patch for new version: 1) 0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch (From OE-Core rev: 0c6fc9a01ba58adc221f04cc79ece7efc16c0ee7) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch42
-rw-r--r--meta/recipes-connectivity/iw/iw_4.7.bb (renamed from meta/recipes-connectivity/iw/iw_4.3.bb)4
2 files changed, 26 insertions, 20 deletions
diff --git a/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch b/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
index 2e52c80c05..715b88d466 100644
--- a/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
+++ b/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
@@ -7,27 +7,33 @@ Upstream-Status: Pending
7Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> 7Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
8Signed-off-by: Maxin B. John <maxin.john@intel.com> 8Signed-off-by: Maxin B. John <maxin.john@intel.com>
9--- 9---
10diff -Naur iw-4.3-origin/version.sh iw-4.3/version.sh 10diff -Naur iw-4.7-orig/version.sh iw-4.7/version.sh
11--- iw-4.3-origin/version.sh 2015-11-20 16:37:58.762077162 +0200 11--- iw-4.7-orig/version.sh 2016-05-31 12:52:46.000000000 +0300
12+++ iw-4.3/version.sh 2015-11-20 16:52:05.526491150 +0200 12+++ iw-4.7/version.sh 2016-06-01 11:21:58.307409060 +0300
13@@ -3,21 +3,7 @@ 13@@ -15,27 +15,7 @@
14 VERSION="4.3" 14 SRC_DIR=$(cd ${SRC_DIR}; pwd)
15 OUT="$1" 15 cd "${SRC_DIR}"
16 16
17-v=""
17-if [ -d .git ] && head=`git rev-parse --verify HEAD 2>/dev/null`; then 18-if [ -d .git ] && head=`git rev-parse --verify HEAD 2>/dev/null`; then
18- git update-index --refresh --unmerged > /dev/null 19- git update-index --refresh --unmerged > /dev/null
19- descr=$(git describe --match=v*) 20- descr=$(git describe --match=v* 2>/dev/null)
20- 21- if [ $? -eq 0 ]; then
21- # on git builds check that the version number above 22- # on git builds check that the version number above
22- # is correct... 23- # is correct...
23- [ "${descr%%-*}" = "v$VERSION" ] || exit 2 24- if [ "${descr%%-*}" = "v$VERSION" ]; then
25- v="${descr#v}"
26- if git diff-index --name-only HEAD | read dummy ; then
27- v="$v"-dirty
28- fi
29- fi
30- fi
31-fi
24- 32-
25- v="${descr#v}" 33-# set to the default version when failed to get the version
26- if git diff-index --name-only HEAD | read dummy ; then 34-# information with git
27- v="$v"-dirty 35-if [ -z "${v}" ]; then
28- fi 36- v="$VERSION"
29-else
30- v="$VERSION"
31-fi 37-fi
32+v="$VERSION" 38+v="$VERSION"
33 39
diff --git a/meta/recipes-connectivity/iw/iw_4.3.bb b/meta/recipes-connectivity/iw/iw_4.7.bb
index 6865e7ad63..e9f414129c 100644
--- a/meta/recipes-connectivity/iw/iw_4.3.bb
+++ b/meta/recipes-connectivity/iw/iw_4.7.bb
@@ -14,8 +14,8 @@ SRC_URI = "http://www.kernel.org/pub/software/network/iw/${BP}.tar.gz \
14 file://separate-objdir.patch \ 14 file://separate-objdir.patch \
15" 15"
16 16
17SRC_URI[md5sum] = "5ca622a270687d6862c9024fab266871" 17SRC_URI[md5sum] = "19d1edd276b2ac0c6cccfc7ae8d2b732"
18SRC_URI[sha256sum] = "2a853d95ffbd2b06c058b40ef4e6fa76a52c2709b05fb1976761fe13e9d9e39f" 18SRC_URI[sha256sum] = "758092229f13d691968060a0ad41364ba8eb8da4503626c20233a5b1eb33b4d9"
19 19
20inherit pkgconfig 20inherit pkgconfig
21 21