diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-10 22:48:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-14 22:30:56 +0000 |
commit | 48aad516c24fe38b5d6c7c97350f1ff87084e0db (patch) | |
tree | 752fd8ae1cfe132050c2c57b1d42847590ca5f8e /meta/classes/sign_rpm.bbclass | |
parent | 98dcdcb47c7fd797761703ea27092b4ca2558d62 (diff) | |
download | poky-48aad516c24fe38b5d6c7c97350f1ff87084e0db.tar.gz |
populate_sdk_ext/sign_rpm/sign_package_feed: Add missing getVar parameter
We should always pass a parameter to getVar, add missing default value.
(From OE-Core rev: 31bc0a46a97d7dc98568a218c077c31d8b11dbd9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sign_rpm.bbclass')
-rw-r--r-- | meta/classes/sign_rpm.bbclass | 2 |
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 () { | |||
23 | raise_sanity_error("You need to define %s in the config" % var, d) | 23 | raise_sanity_error("You need to define %s in the config" % var, d) |
24 | 24 | ||
25 | # Set the expected location of the public key | 25 | # Set the expected location of the public key |
26 | d.setVar('RPM_GPG_PUBKEY', os.path.join(d.getVar('STAGING_ETCDIR_NATIVE'), | 26 | d.setVar('RPM_GPG_PUBKEY', os.path.join(d.getVar('STAGING_ETCDIR_NATIVE', False), |
27 | 'RPM-GPG-PUBKEY')) | 27 | 'RPM-GPG-PUBKEY')) |
28 | } | 28 | } |
29 | 29 | ||