[linux-signed] 01/04: debian/bin/sign.py: Flush temporary release file before running gpgv

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Tue Sep 20 21:58:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch sid
in repository linux-signed.

commit ee14c24814d002bdb8d20313ee13f4371f6f65c2
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Tue Sep 20 22:23:12 2016 +0100

    debian/bin/sign.py: Flush temporary release file before running gpgv
---
 debian/bin/sign.py | 1 +
 debian/changelog   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/bin/sign.py b/debian/bin/sign.py
index 8ddbf7a..9d885b8 100755
--- a/debian/bin/sign.py
+++ b/debian/bin/sign.py
@@ -23,6 +23,7 @@ def get_release_data(mirror, suite):
         # detached signatures so call gpgv directly.
         with tempfile.NamedTemporaryFile() as release_file:
             release_file.write(release_raw)
+            release_file.flush()
             output = subprocess.check_output(
                 ['gpgv', '--status-fd', '1',
                  '--keyring', '/usr/share/keyrings/debian-archive-keyring.gpg',
diff --git a/debian/changelog b/debian/changelog
index ce31988..c8629f4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ linux-signed (2.4) UNRELEASED; urgency=medium
 
   * Validate version suffiix to ensure it sorts lowe than stable security
     updates
+  * debian/bin/sign.py: Flush temporary release file before running gpgv
 
  -- Ben Hutchings <ben at decadent.org.uk>  Thu, 15 Sep 2016 16:54:17 +0100
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux-signed.git



More information about the Kernel-svn-changes mailing list