mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-27 06:18:51 +00:00
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:
@@ -13,7 +13,7 @@ inherit sign_rpm user-key-store
|
|||||||
python () {
|
python () {
|
||||||
gpg_path = d.getVar('GPG_PATH', True)
|
gpg_path = d.getVar('GPG_PATH', True)
|
||||||
if not gpg_path:
|
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)
|
d.setVar('GPG_PATH', gpg_path)
|
||||||
|
|
||||||
if not os.path.exists(gpg_path):
|
if not os.path.exists(gpg_path):
|
||||||
|
|||||||
Reference in New Issue
Block a user