summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2016-06-28 16:27:57 +0200
committerAndrew Shadura <andrewsh@debian.org>2018-04-22 11:24:22 +0200
commitfe84c8b14b72752b1882d3edb2f58e0d5489fdbd (patch)
treef3c51c092e263add55df00ad7ff381a7672f0680
parentc93a334e01d36129653c5dd45af681b9a548ee8e (diff)
Make the build reproducible
Closes: #828856
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index d71055f..cc63d30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -72,7 +72,7 @@ endif
install -d -m 0755 debian/tmp/DEBIAN
install -p -m 0644 debian/control debian/tmp/DEBIAN
- cd debian/tmp && find usr -type f -print0 | xargs -0 md5sum > DEBIAN/md5sums
+ cd debian/tmp && find usr -type f -print0 | LC_ALL=C sort -z | xargs -0 md5sum > DEBIAN/md5sums
chown -R root:root debian/tmp
chmod -R go=u-w debian/tmp