summaryrefslogtreecommitdiffstats
path: root/hosts/jtk1a-armhf-rb/etc/pbuilder
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-11-17 00:24:19 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-17 00:24:19 +0100
commitd78817e1ed508a3e470eaa3f51b5070695763ec6 (patch)
tree85b3a7cdbd52a858a4272a7c8d9bdbfe614c3c2d /hosts/jtk1a-armhf-rb/etc/pbuilder
parent0bc9f1d6ca295a8c7d77f3c19ad2b708c8732b6b (diff)
downloadjenkins.debian.net-d78817e1ed508a3e470eaa3f51b5070695763ec6.tar.xz
reproducible Debian: enable disorderfs on bpi0-armhf-rb.d.n only (due to #844498)
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/jtk1a-armhf-rb/etc/pbuilder')
-rwxr-xr-xhosts/jtk1a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
1 files changed, 8 insertions, 3 deletions
diff --git a/hosts/jtk1a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/jtk1a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/jtk1a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/jtk1a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -10,6 +10,7 @@ BUILDDIR="${BUILDDIR:-/tmp/buildd}"
#
# doing variations for the 2nd builds:
#
+REAL_HOSTNAME=$HOSTNAME
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
@@ -31,10 +32,14 @@ if [ -n "$BUILDUSERNAME" ] ; then
fi
# disable disorderfs due to #844498
-exit 0
-# use disorderfs on i386 only for now
-if [ "$(dpkg --print-architecture)" != "i386" ] ; then
+#exit 0
+# use disorderfs on armhf only for now
+if [ "$(dpkg --print-architecture)" != "armhf" ] ; then
exit 0
+elif [ "$REAL_HOSTNAME" != "bpi0" ] ; then
+ exit 0
+else
+ figlet bpi0, yay
fi
# use disorderfs