mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-05-07 02:08:20 +00:00
user-key-store: don't call anonymous function
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
This commit is contained in:
@@ -358,7 +358,7 @@ def set_keys_dir(name, d):
|
||||
if d.getVar(name + '_KEYS_DIR', True) == d.getVar('SAMPLE_' + name + '_KEYS_DIR', True):
|
||||
d.setVar(name + '_KEYS_DIR', d.getVar('DEPLOY_DIR_IMAGE', True) + '/user-keys/' + name.lower() + '_keys')
|
||||
|
||||
python () {
|
||||
python check_deploy_keys() {
|
||||
# XXX: the user key for rpm signing is necessary but not required.
|
||||
for _ in ('UEFI_SB', 'MOK_SB', 'IMA', 'SYSTEM_TRUSTED'):
|
||||
if d.getVar(_, True) != "1":
|
||||
|
||||
Reference in New Issue
Block a user