From: Ansgar Burchardt Date: Thu, 9 May 2013 08:50:45 +0000 (+0200) Subject: daklib/checks.py: lintian check should not try to validate signatures X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=47f4f001c55284e717818f14b8f9eace3e682b56 daklib/checks.py: lintian check should not try to validate signatures 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. --- diff --git a/daklib/checks.py b/daklib/checks.py index 664bca3e..019654ca 100644 --- a/daklib/checks.py +++ b/daklib/checks.py @@ -644,7 +644,7 @@ class LintianCheck(Check): 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)