From d78817e1ed508a3e470eaa3f51b5070695763ec6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 17 Nov 2016 00:24:19 +0100 Subject: reproducible Debian: enable disorderfs on bpi0-armhf-rb.d.n only (due to #844498) Signed-off-by: Holger Levsen --- .../etc/pbuilder/rebuild-hooks/D01_modify_environment | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'hosts/ff4a-armhf-rb/etc/pbuilder/rebuild-hooks') diff --git a/hosts/ff4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/ff4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment index ba9ed4fa..12f9e83a 100755 --- a/hosts/ff4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment +++ b/hosts/ff4a-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 -- cgit v1.2.3-70-g09d2