Source: cli-common-dev
Version: 0.9
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: toolchain randomness
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that dh_cligacpolicy is populating postinst and postrm scripts with
snippets in a random order.

A patch is attached that fixes this.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/dh_cligacpolicy b/dh_cligacpolicy
index 47eda19..8932a9a 100755
--- a/dh_cligacpolicy
+++ b/dh_cligacpolicy
@@ -204,7 +204,7 @@ foreach my $package (@{$dh{DOPACKAGES}})
     # Once all the various <assemblyBinding> tags are consolidated, we
     # then generate the policy files. This will result in one policy file for
     # a given assembly, key file, and A.B version.
-    foreach my $pk (keys %policies)
+    foreach my $pk (sort keys %policies)
     {
        # Get the pkg_dir
        my ($snk, $assembly, $version_map, $priority) =
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to