Source: cli-common-dev
Version: 0.9
Severity: wishlist
Tags: patch
Usertags: toolchain randomness


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.



     : :'  :     Chris Lamb
     `. `'` /
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

Reply via email to