[OE-core] [PATCH 1/2] oe/gpg_sign: fix incorrect variable name

Markus Lehtonen markus.lehtonen at linux.intel.com
Mon Feb 8 15:20:05 UTC 2016


Prevents crash in signing if GPG_PATH is defined.

Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.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 55abad8..821787e 100644
--- a/meta/lib/oe/gpg_sign.py
+++ b/meta/lib/oe/gpg_sign.py
@@ -58,7 +58,7 @@ class LocalSigner(object):
                   "--passphrase-file '%s' -u '%s' " % \
                   (self.gpg_bin, self.passphrase_file, self.keyid)
         if self.gpg_path:
-            gpg_cmd += "--homedir %s " % self.gpg_path
+            cmd += "--homedir %s " % self.gpg_path
         cmd += input_file
         status, output = oe.utils.getstatusoutput(cmd)
         if status:
-- 
2.6.2




More information about the Openembedded-core mailing list