By default dpkg-source -x requires a valid signature, but uses different
keyrings than configured in dak. So this check can fail for signatures dak has
just verified as valid a bit earlier.
With this patch lintian will pass --no-check to dpkg-source to skip signature
(and checksum) verification.
if user is not None:
cmd.extend(['sudo', '-H', '-u', user])
- cmd.extend(['/usr/bin/lintian', '--show-overrides', '--tags-from-file', temp_filename, changespath])
+ cmd.extend(['LINTIAN_COLL_UNPACKED_SKIP_SIG=1', '/usr/bin/lintian', '--show-overrides', '--tags-from-file', temp_filename, changespath])
result, output = commands.getstatusoutput(" ".join(cmd))
finally:
os.unlink(temp_filename)