diff options
author | Jia Zhang <lans.zhang2008@gmail.com> | 2017-08-20 15:00:05 +0800 |
---|---|---|
committer | Jia Zhang <lans.zhang2008@gmail.com> | 2017-08-20 15:00:05 +0800 |
commit | 6b7e09b444411c66c958cc5cded8d4c7d0c23fe7 (patch) | |
tree | b6d39115a1544ac55aadc238d395db4fd7b4c1ba | |
parent | 5c584cb628d751a322b3f90239ea90226b43ca48 (diff) | |
download | meta-secure-core-6b7e09b444411c66c958cc5cded8d4c7d0c23fe7.tar.gz |
sign_rpm_ext: define the location of default gpg keyring to TMPDIR
Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
-rw-r--r-- | meta-integrity/classes/sign_rpm_ext.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-integrity/classes/sign_rpm_ext.bbclass b/meta-integrity/classes/sign_rpm_ext.bbclass index 76c5ebc..865b606 100644 --- a/meta-integrity/classes/sign_rpm_ext.bbclass +++ b/meta-integrity/classes/sign_rpm_ext.bbclass | |||
@@ -13,7 +13,7 @@ inherit sign_rpm user-key-store | |||
13 | python () { | 13 | python () { |
14 | gpg_path = d.getVar('GPG_PATH', True) | 14 | gpg_path = d.getVar('GPG_PATH', True) |
15 | if not gpg_path: | 15 | if not gpg_path: |
16 | gpg_path = d.getVar('DEPLOY_DIR_IMAGE', True) + '/.gnupg' | 16 | gpg_path = d.getVar('TMPDIR', True) + '/.gnupg' |
17 | d.setVar('GPG_PATH', gpg_path) | 17 | d.setVar('GPG_PATH', gpg_path) |
18 | 18 | ||
19 | if not os.path.exists(gpg_path): | 19 | if not os.path.exists(gpg_path): |