[oe-commits] [openembedded-core] 23/64: gpg_sign.py: fix overwriting the RPM macro __gpg in a wrong way

git at git.openembedded.org git at git.openembedded.org
Mon Jul 17 13:02:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 2fda41cef26b600d599dfb7f2e61c5829e2b309c
Author: Lans Zhang <jia.zhang at windriver.com>
AuthorDate: Tue Jul 11 12:43:02 2017 +0800

    gpg_sign.py: fix overwriting the RPM macro __gpg in a wrong way
    
    The RPM macro used in --define option should not be prefixed by %%.
    
    Signed-off-by: Lans Zhang <jia.zhang at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/lib/oe/gpg_sign.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py
index 7ce767e..c53df54 100644
--- a/meta/lib/oe/gpg_sign.py
+++ b/meta/lib/oe/gpg_sign.py
@@ -36,7 +36,7 @@ class LocalSigner(object):
             gpg_args += ' --pinentry-mode=loopback'
         cmd += "--define '_gpg_sign_cmd_extra_args %s' " % gpg_args
         if self.gpg_bin:
-            cmd += "--define '%%__gpg %s' " % self.gpg_bin
+            cmd += "--define '__gpg %s' " % self.gpg_bin
         if self.gpg_path:
             cmd += "--define '_gpg_path %s' " % self.gpg_path
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list