[firmware-nonfree] 01/01: debian/bin/gencontrol.py: Sort list of symlink names for each blob

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Fri Oct 20 01:48:15 UTC 2017


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

benh pushed a commit to branch master
in repository firmware-nonfree.

commit e79b4fa9546fc089d677eb7c7cee4d5d3a04a092
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Fri Oct 20 02:46:03 2017 +0100

    debian/bin/gencontrol.py: Sort list of symlink names for each blob
    
    Currently the order varies between runs due to randomised hashing.
    This adds noise to the diff between versions.
---
 debian/bin/gencontrol.py | 2 +-
 debian/changelog         | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/bin/gencontrol.py b/debian/bin/gencontrol.py
index 318cf2d..8ec0e60 100755
--- a/debian/bin/gencontrol.py
+++ b/debian/bin/gencontrol.py
@@ -292,7 +292,7 @@ class GenControl(debian_linux.gencontrol.Gencontrol):
             if version is None:
                 version = c.get('version')
             try:
-                f = f + ', ' + ', '.join(links_rev[f])
+                f = f + ', ' + ', '.join(sorted(links_rev[f]))
             except KeyError:
                 pass
             if desc and version:
diff --git a/debian/changelog b/debian/changelog
index 0744456..89e0814 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 firmware-nonfree (20170823-2) UNRELEASED; urgency=medium
 
   * debian/bin/gencontrol.py: Set encoding to UTF-8 globally
+  * debian/bin/gencontrol.py: Sort list of symlink names for each blob
 
  -- Ben Hutchings <ben at decadent.org.uk>  Fri, 20 Oct 2017 02:37:42 +0100
 

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



More information about the Kernel-svn-changes mailing list