summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch')
-rw-r--r--meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch20
1 files changed, 6 insertions, 14 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 a0a77b2e54..2e52c80c05 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
@@ -1,6 +1,3 @@
1From 5310abba864cfe3a8b65af130729447604190b29 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Tue, 29 Nov 2011 17:03:27 +0100
4Subject: [PATCH] iw: version.sh: don't use git describe for versioning 1Subject: [PATCH] iw: version.sh: don't use git describe for versioning
5 2
6It will detect top-level git repositories like the Angstrom setup-scripts and break. 3It will detect top-level git repositories like the Angstrom setup-scripts and break.
@@ -8,21 +5,18 @@ It will detect top-level git repositories like the Angstrom setup-scripts and br
8Upstream-Status: Pending 5Upstream-Status: Pending
9 6
10Signed-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>
11--- 9---
12 version.sh | 16 +--------------- 10diff -Naur iw-4.3-origin/version.sh iw-4.3/version.sh
13 1 file changed, 1 insertion(+), 15 deletions(-) 11--- iw-4.3-origin/version.sh 2015-11-20 16:37:58.762077162 +0200
14 12+++ iw-4.3/version.sh 2015-11-20 16:52:05.526491150 +0200
15diff --git a/version.sh b/version.sh
16index 11d124b..5d423c4 100755
17--- a/version.sh
18+++ b/version.sh
19@@ -3,21 +3,7 @@ 13@@ -3,21 +3,7 @@
20 VERSION="3.15" 14 VERSION="4.3"
21 OUT="$1" 15 OUT="$1"
22 16
23-if [ -d .git ] && head=`git rev-parse --verify HEAD 2>/dev/null`; then 17-if [ -d .git ] && head=`git rev-parse --verify HEAD 2>/dev/null`; then
24- git update-index --refresh --unmerged > /dev/null 18- git update-index --refresh --unmerged > /dev/null
25- descr=$(git describe) 19- descr=$(git describe --match=v*)
26- 20-
27- # on git builds check that the version number above 21- # on git builds check that the version number above
28- # is correct... 22- # is correct...
@@ -39,5 +33,3 @@ index 11d124b..5d423c4 100755
39 33
40 echo '#include "iw.h"' > "$OUT" 34 echo '#include "iw.h"' > "$OUT"
41 echo "const char iw_version[] = \"$v\";" >> "$OUT" 35 echo "const char iw_version[] = \"$v\";" >> "$OUT"
42--
431.7.7.3