]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/checks.py: lintian check should not try to validate signatures
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 9 May 2013 08:50:45 +0000 (10:50 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 9 May 2013 08:54:35 +0000 (10:54 +0200)
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.

daklib/checks.py

index 664bca3e1c966a28d3ea2c7fd3b0708ff8b794ac..019654caf278f7486c4504e63d68221d75283588 100644 (file)
@@ -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)