diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2015-10-28 01:53:37 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-16 11:39:30 +0000 |
commit | 70600fbb948269dac06242637867aaffa29172cf (patch) | |
tree | fe3af51a7f18a46b0a3bd7357ae0bae5361e0d50 /meta/recipes-support/gnupg/gnupg/autogen.sh-fix-find-version-for-beta-checking.patch | |
parent | ab123ef69417d0957741102cc28ac3d17daefb84 (diff) | |
download | poky-70600fbb948269dac06242637867aaffa29172cf.tar.gz |
gnupg: fix find-version for beta checking
find-version always assumes that gnupg is beta if autogen.sh is run
out of git-repo. This doesn't work for users whom just take release
tarball and re-run autoconf in their local build dir.
This fixes runtime issue:
$gpg --list-sigs
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
(From OE-Core rev: a37cccca3bb3bad0d8d7e375fb7e3cc339ac8250)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gnupg/gnupg/autogen.sh-fix-find-version-for-beta-checking.patch')
-rw-r--r-- | meta/recipes-support/gnupg/gnupg/autogen.sh-fix-find-version-for-beta-checking.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg/autogen.sh-fix-find-version-for-beta-checking.patch b/meta/recipes-support/gnupg/gnupg/autogen.sh-fix-find-version-for-beta-checking.patch new file mode 100644 index 0000000000..4241bc3a2e --- /dev/null +++ b/meta/recipes-support/gnupg/gnupg/autogen.sh-fix-find-version-for-beta-checking.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 717f994be2466d378e6611a4739c606db6d0dc46 Mon Sep 17 00:00:00 2001 | ||
2 | From: Wenzong Fan <wenzong.fan@windriver.com> | ||
3 | Date: Sun, 25 Oct 2015 22:44:47 -0400 | ||
4 | Subject: [PATCH] autogen.sh: fix find-version for beta checking | ||
5 | |||
6 | find-version always assumes that gnupg is beta if autogen.sh is run | ||
7 | out of git-repo. This doesn't work for users whom just take release | ||
8 | tarball and re-run autoconf in their local build dir. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
13 | --- | ||
14 | autogen.sh | 1 - | ||
15 | 1 file changed, 1 deletion(-) | ||
16 | |||
17 | diff --git a/autogen.sh b/autogen.sh | ||
18 | index 7effd56..d673432 100755 | ||
19 | --- a/autogen.sh | ||
20 | +++ b/autogen.sh | ||
21 | @@ -228,7 +228,6 @@ if [ "$myhost" = "find-version" ]; then | ||
22 | rvd=$((0x$(echo ${rev} | head -c 4))) | ||
23 | else | ||
24 | ingit=no | ||
25 | - beta=yes | ||
26 | tmp="-unknown" | ||
27 | rev="0000000" | ||
28 | rvd="0" | ||
29 | -- | ||
30 | 1.9.1 | ||
31 | |||