user-key-store: don't call anonymous function

Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
This commit is contained in:
Lans Zhang
2017-07-11 14:02:38 +08:00
parent 7c7f7f94a1
commit 251910fb89

View File

@@ -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":