sign_rpm_ext: define the location of default gpg keyring to TMPDIR

Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
This commit is contained in:
Jia Zhang
2017-08-20 15:00:05 +08:00
parent 5c584cb628
commit 6b7e09b444
+1 -1
View File
@@ -13,7 +13,7 @@ inherit sign_rpm user-key-store
python () {
gpg_path = d.getVar('GPG_PATH', True)
if not gpg_path:
gpg_path = d.getVar('DEPLOY_DIR_IMAGE', True) + '/.gnupg'
gpg_path = d.getVar('TMPDIR', True) + '/.gnupg'
d.setVar('GPG_PATH', gpg_path)
if not os.path.exists(gpg_path):