[Reproducible-commits] [debhelper] 09/10: dh_installdeb: register conffiles in a stable order
Jérémy Bobbio
lunar at moszumanska.debian.org
Wed Oct 22 17:53:01 UTC 2014
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository debhelper.
commit 279cdb11049f6da94563832e1c04b06d6dee1775
Author: Jérémy Bobbio <lunar at debian.org>
Date: Sun Oct 19 13:35:46 2014 +0200
dh_installdeb: register conffiles in a stable order
conffiles were automatically registered by dh_installdeb depending on
the order they were found on the filesystem. For build reproducibility,
we now sort them in order to have a stable order accross multiple
builds.
Closes: #766384
---
dh_installdeb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dh_installdeb b/dh_installdeb
index 1f02edf..3fc802c 100755
--- a/dh_installdeb
+++ b/dh_installdeb
@@ -128,7 +128,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# Automatic conffiles registration: If it is in /etc, it is a
# conffile.
if (! compat(2) && -d "$tmp/etc") {
- complex_doit("find $tmp/etc -type f -printf '/etc/%P\n' >> $tmp/DEBIAN/conffiles");
+ complex_doit("find $tmp/etc -type f -printf '/etc/%P\n' | LC_ALL=C sort >> $tmp/DEBIAN/conffiles");
# Anything found?
if (-z "$tmp/DEBIAN/conffiles") {
doit("rm", "-f", "$tmp/DEBIAN/conffiles");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git
More information about the Reproducible-commits
mailing list