summaryrefslogtreecommitdiff
path: root/meta/classes/sign_rpm.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-10 22:48:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-14 15:16:04 +0000
commit31bc0a46a97d7dc98568a218c077c31d8b11dbd9 (patch)
tree1edd8cc2c67f4d71af52063ee5093ee13e4fab1f /meta/classes/sign_rpm.bbclass
parent421eb8fce9856c63bf62fc3a61fe39d1e5253ff8 (diff)
downloadopenembedded-core-31bc0a46a97d7dc98568a218c077c31d8b11dbd9.tar.gz
openembedded-core-31bc0a46a97d7dc98568a218c077c31d8b11dbd9.tar.bz2
openembedded-core-31bc0a46a97d7dc98568a218c077c31d8b11dbd9.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sign_rpm.bbclass')
-rw-r--r--meta/classes/sign_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
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'))
}