[Reproducible-commits] [misc] 01/01: Add some comments

Jérémy Bobbio lunar at moszumanska.debian.org
Wed Jan 14 14:07:33 UTC 2015


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

lunar pushed a commit to branch master
in repository misc.

commit b26eca734a536a7cf57117f54a9d4d235d14f985
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Wed Jan 14 15:07:26 2015 +0100

    Add some comments
---
 prebuilder/pbuilderhooks/B92_debbindiff | 4 ++++
 prebuilder/rebuild.sh                   | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/prebuilder/pbuilderhooks/B92_debbindiff b/prebuilder/pbuilderhooks/B92_debbindiff
index 9255c7c..0816bd7 100755
--- a/prebuilder/pbuilderhooks/B92_debbindiff
+++ b/prebuilder/pbuilderhooks/B92_debbindiff
@@ -1,5 +1,9 @@
 #!/bin/sh
 # B92_debbindiff: run debbindiff if needed
+#
+# We run this hook from the chroot as we can install the version
+# of debbindiff that matches our build environment; and get the latest
+# improvements if it's unstable.
 
 [ -f /tmp/buildd/initial_build.tar ] || exit 0
 
diff --git a/prebuilder/rebuild.sh b/prebuilder/rebuild.sh
index 91690a2..37b7bbe 100755
--- a/prebuilder/rebuild.sh
+++ b/prebuilder/rebuild.sh
@@ -34,6 +34,11 @@ xz < logs/${PACKAGE}.build1 > logs/${PACKAGE}.build1.xz
 dcmd cp /var/cache/pbuilder/result/${PACKAGE}_*.changes b1
 sudo dcmd rm /var/cache/pbuilder/result/${PACKAGE}_*.changes
 
+# Let's make a tarball of the build result. This allows us
+# to give it to the second run of pbuilder. The configured
+# hook will then run debbindiff at the end of the second
+# build.
+
 TMPDIR=$(mktemp -d) || exit 1
 trap "rm -rf '$TMPDIR'" EXIT
 TMPTAR="$TMPDIR/initial_build.tar"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list