From 9880c3ab33ca96daad6c9c63389ccbcfea63973b Mon Sep 17 00:00:00 2001 From: Liwei Song Date: Tue, 26 May 2020 04:38:38 +0000 Subject: [PATCH] Revert "user-key-store.bbclass: Kill gpg agent daemon after gpg sign" This reverts commit fc8969af8a34ff93ede7d44a492750446154d950. In parallel build this will led sign error because the gpg-agent in using maybe killed in another task. Signed-off-by: Liwei Song --- meta-signing-key/classes/user-key-store.bbclass | 4 ---- 1 file changed, 4 deletions(-) diff --git a/meta-signing-key/classes/user-key-store.bbclass b/meta-signing-key/classes/user-key-store.bbclass index e41cdf3..f89a810 100644 --- a/meta-signing-key/classes/user-key-store.bbclass +++ b/meta-signing-key/classes/user-key-store.bbclass @@ -540,10 +540,6 @@ def boot_sign(input, d): status, output = oe.utils.getstatusoutput(cmd) if status: bb.fatal('Failed to sign: %s' % (input)) - gpg_conf = bb.utils.which(os.getenv('PATH'), 'gpgconf') - cmd = 'GNUPGHOME=%s %s --kill gpg-agent' % \ - (gpg_path, gpg_conf) - status, output = oe.utils.getstatusoutput(cmd) def uks_boot_sign(input, d): boot_sign(input, d)