summaryrefslogtreecommitdiffstats
path: root/meta/classes/sign_rpm.bbclass
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-10-15 14:19:15 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-27 07:24:24 +0000
commit48d60fc44a2cce6865f296f3374595d34c9e0b76 (patch)
tree8e222362d4020e40bdb28e7c9037f725c0820363 /meta/classes/sign_rpm.bbclass
parentdbb9af6b0b634549bf289ead86c39a4fad24d978 (diff)
downloadpoky-48d60fc44a2cce6865f296f3374595d34c9e0b76.tar.gz
sign_rpm.bbclass: be more verbose in case of error
(From OE-Core rev: 3abdd2bf886e4b3bc7dd957c77a7745498386161) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sign_rpm.bbclass')
-rw-r--r--meta/classes/sign_rpm.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/sign_rpm.bbclass b/meta/classes/sign_rpm.bbclass
index 23aea42ba3..39f877a23c 100644
--- a/meta/classes/sign_rpm.bbclass
+++ b/meta/classes/sign_rpm.bbclass
@@ -55,8 +55,11 @@ def rpmsign_wrapper(d, files, passphrase, gpg_name=None):
55 proc.expect(pexpect.EOF, timeout=900) 55 proc.expect(pexpect.EOF, timeout=900)
56 proc.close() 56 proc.close()
57 except pexpect.TIMEOUT as err: 57 except pexpect.TIMEOUT as err:
58 bb.debug('rpmsign timeout: %s' % err) 58 bb.warn('rpmsign timeout: %s' % err)
59 proc.terminate() 59 proc.terminate()
60 else:
61 if os.WEXITSTATUS(proc.status) or not os.WIFEXITED(proc.status):
62 bb.warn('rpmsign failed: %s' % proc.before.strip())
60 return proc.exitstatus 63 return proc.exitstatus
61 64
62 65