summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build11-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-11-16 10:34:59 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-16 10:34:59 +0100
commit0d87e21523d6ab10603865342150a426d86205ef (patch)
treeabdebd42271a017d4caa5d50e45d0f52b6d1b20f /hosts/profitbricks-build11-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
parent156981fc3b1ddda49bdf18f59c4f177c2e97338a (diff)
downloadjenkins.debian.net-0d87e21523d6ab10603865342150a426d86205ef.tar.xz
reproducible Debian: disable disorderfs again (we might enable it for a single armhf host…)
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/profitbricks-build11-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment')
-rwxr-xr-xhosts/profitbricks-build11-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment6
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/profitbricks-build11-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build11-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 9fbad7c5..1d82cd2c 100755
--- a/hosts/profitbricks-build11-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build11-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