From 31bc0a46a97d7dc98568a218c077c31d8b11dbd9 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 10 Dec 2015 22:48:35 +0000 Subject: populate_sdk_ext/sign_rpm/sign_package_feed: Add missing getVar parameter We should always pass a parameter to getVar, add missing default value. Signed-off-by: Richard Purdie --- meta/classes/sign_rpm.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/sign_rpm.bbclass') diff --git a/meta/classes/sign_rpm.bbclass b/meta/classes/sign_rpm.bbclass index f0c3dc9be3..bc916a7097 100644 --- a/meta/classes/sign_rpm.bbclass +++ b/meta/classes/sign_rpm.bbclass @@ -23,7 +23,7 @@ python () { raise_sanity_error("You need to define %s in the config" % var, d) # Set the expected location of the public key - d.setVar('RPM_GPG_PUBKEY', os.path.join(d.getVar('STAGING_ETCDIR_NATIVE'), + d.setVar('RPM_GPG_PUBKEY', os.path.join(d.getVar('STAGING_ETCDIR_NATIVE', False), 'RPM-GPG-PUBKEY')) } -- cgit v1.2.3