mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-16 20:56:58 +00:00
sign_rpm_ext.bbclass: use the default setting from meta-signing-key
Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
# RPM_GPG_NAME and RPM_GPG_PASSPHRASE must be configured in your build
|
||||
# environment. By default, the values for the sample keys are configured
|
||||
# in meta-signing-key.
|
||||
RPM_GPG_NAME ?= "SecureCore"
|
||||
RPM_GPG_PASSPHRASE ?= "SecureCore"
|
||||
|
||||
RPM_GPG_BACKEND ?= "local"
|
||||
# SHA-256 is used for the file checksum digest.
|
||||
@@ -17,6 +15,9 @@ RPM_FSK_PASSWORD ?= "password"
|
||||
inherit sign_rpm user-key-store
|
||||
|
||||
python () {
|
||||
if d.getVar('RPM_SIGN_FILES', True) != '1':
|
||||
return
|
||||
|
||||
gpg_path = d.getVar('GPG_PATH', True)
|
||||
if not gpg_path:
|
||||
gpg_path = d.getVar('DEPLOY_DIR_IMAGE', True) + '/.gnupg'
|
||||
|
||||
Reference in New Issue
Block a user