From 0d87e21523d6ab10603865342150a426d86205ef Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 16 Nov 2016 10:34:59 +0100 Subject: reproducible Debian: disable disorderfs again (we might enable it for a single armhf host…) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Holger Levsen --- .../etc/pbuilder/rebuild-hooks/D01_modify_environment | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hosts/profitbricks-build15-amd64/etc/pbuilder/rebuild-hooks') diff --git a/hosts/profitbricks-build15-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build15-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment index 9fbad7c5..1d82cd2c 100755 --- a/hosts/profitbricks-build15-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment +++ b/hosts/profitbricks-build15-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment @@ -7,6 +7,10 @@ BUILDDIR="${BUILDDIR:-/tmp/buildd}" # exit if we are in the same UTS namespace as init ( != 2nd build ) [ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0 +# +# doing variations for the 2nd builds: +# + echo "I: Changing host+domainname to test build reproducibility" >&2 sed -e '/^127.0.0.1/s/$/ i-capture-the-hostname i-capture-the-hostname.i-capture-the-domain/' -i /etc/hosts hostname i-capture-the-hostname @@ -26,6 +30,8 @@ if [ -n "$BUILDUSERNAME" ] ; then fi fi +# disable disorderfs +exit 0 # use disorderfs on i386 only for now if [ "$(dpkg --print-architecture)" != "i386" ] ; then exit 0 -- cgit v1.2.3-70-g09d2