]> code.ossystems Code Review - openembedded-core.git/commitdiff
cml1/sstate: Fix missing getVar parameter
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Feb 2016 15:32:56 +0000 (15:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Feb 2016 15:32:56 +0000 (15:32 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cml1.bbclass
meta/classes/sstate.bbclass

index 4067dc0fba40e8bbc8d58aebf65760d71bd38cae..b5dc028a2bb50bf2acf0742c71714f81edc779fb 100644 (file)
@@ -26,7 +26,7 @@ python do_menuconfig() {
     except OSError:
         mtime = 0
 
-    oe_terminal("${SHELL} -c \"make %s; if [ \$? -ne 0 ]; then echo 'Command failed.'; printf 'Press any key to continue... '; read r; fi\"" % d.getVar('KCONFIG_CONFIG_COMMAND'),
+    oe_terminal("${SHELL} -c \"make %s; if [ \$? -ne 0 ]; then echo 'Command failed.'; printf 'Press any key to continue... '; read r; fi\"" % d.getVar('KCONFIG_CONFIG_COMMAND', True),
                 d.getVar('PN', True ) + ' Configuration', d)
 
     # FIXME this check can be removed when the minimum bitbake version has been bumped
index 6c20f69c57c6b2c623f0baa085aca6ff24d1c41d..3499d2ee66e0ed93e9cf41e4240e633efad3b377 100644 (file)
@@ -691,8 +691,8 @@ python sstate_sign_package () {
         sstate_pkg = d.getVar('SSTATE_PKG', True)
         if os.path.exists(sstate_pkg + '.sig'):
             os.unlink(sstate_pkg + '.sig')
-        signer.detach_sign(sstate_pkg, d.getVar('SSTATE_SIG_KEY'), None,
-                           d.getVar('SSTATE_SIG_PASSPHRASE'), armor=False)
+        signer.detach_sign(sstate_pkg, d.getVar('SSTATE_SIG_KEY', False), None,
+                           d.getVar('SSTATE_SIG_PASSPHRASE', True), armor=False)
 }
 
 #