diff options
-rw-r--r-- | meta-signing-key/classes/user-key-store.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-signing-key/classes/user-key-store.bbclass b/meta-signing-key/classes/user-key-store.bbclass index 55876d0..960bde6 100644 --- a/meta-signing-key/classes/user-key-store.bbclass +++ b/meta-signing-key/classes/user-key-store.bbclass | |||
@@ -536,6 +536,10 @@ def boot_sign(input, d): | |||
536 | status, output = oe.utils.getstatusoutput(cmd) | 536 | status, output = oe.utils.getstatusoutput(cmd) |
537 | if status: | 537 | if status: |
538 | bb.fatal('Failed to sign: %s' % (input)) | 538 | bb.fatal('Failed to sign: %s' % (input)) |
539 | gpg_conf = bb.utils.which(os.getenv('PATH'), 'gpgconf') | ||
540 | cmd = 'GNUPGHOME=%s %s --kill gpg-agent' % \ | ||
541 | (gpg_path, gpg_conf) | ||
542 | status, output = oe.utils.getstatusoutput(cmd) | ||
539 | 543 | ||
540 | def uks_boot_sign(input, d): | 544 | def uks_boot_sign(input, d): |
541 | boot_sign(input, d) | 545 | boot_sign(input, d) |