summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/iw/iw
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 /meta/recipes-connectivity/iw/iw
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>
Diffstat (limited to 'meta/recipes-connectivity/iw/iw')
-rw-r--r--meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch42
1 files changed, 24 insertions, 18 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