summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhosts/bbx15-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/cb3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/cbxi4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/ff2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/ff2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/ff4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/jtk1a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/odu3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/odxu4-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/odxu4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/odxu4c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/opi2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/opi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/opi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/profitbricks-build10-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/profitbricks-build11-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/profitbricks-build12-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/profitbricks-build15-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/profitbricks-build16-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/profitbricks-build2-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/profitbricks-build5-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/profitbricks-build6-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/rpi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/rpi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/wbd0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
-rwxr-xr-xhosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment11
33 files changed, 264 insertions, 99 deletions
diff --git a/hosts/bbx15-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/bbx15-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/bbx15-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/bbx15-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
diff --git a/hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/bpi0-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
diff --git a/hosts/cb3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/cb3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/cb3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/cb3a-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
diff --git a/hosts/cbxi4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/cbxi4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/cbxi4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/cbxi4a-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
diff --git a/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/cbxi4b-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
diff --git a/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/cbxi4pro0-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
diff --git a/hosts/ff2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/ff2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/ff2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/ff2a-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
diff --git a/hosts/ff2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/ff2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/ff2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/ff2b-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
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
diff --git a/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/hb0-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
diff --git a/hosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/jenkins-test-vm/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
diff --git a/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/jenkins/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
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
diff --git a/hosts/odu3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/odu3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/odu3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/odu3a-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
diff --git a/hosts/odxu4-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/odxu4-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/odxu4-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/odxu4-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
diff --git a/hosts/odxu4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/odxu4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/odxu4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/odxu4b-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
diff --git a/hosts/odxu4c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/odxu4c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/odxu4c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/odxu4c-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
diff --git a/hosts/opi2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/opi2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/opi2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/opi2a-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
diff --git a/hosts/opi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/opi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/opi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/opi2b-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
diff --git a/hosts/opi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/opi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/opi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/opi2c-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
diff --git a/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build1-amd64/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
diff --git a/hosts/profitbricks-build10-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build10-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/profitbricks-build10-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build10-amd64/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
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 ba9ed4fa..12f9e83a 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
@@ -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
diff --git a/hosts/profitbricks-build12-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build12-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/profitbricks-build12-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build12-i386/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
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 ba9ed4fa..12f9e83a 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
@@ -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
diff --git a/hosts/profitbricks-build16-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build16-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/profitbricks-build16-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build16-i386/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
diff --git a/hosts/profitbricks-build2-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build2-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/profitbricks-build2-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build2-i386/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
diff --git a/hosts/profitbricks-build5-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build5-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/profitbricks-build5-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build5-amd64/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
diff --git a/hosts/profitbricks-build6-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build6-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/profitbricks-build6-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build6-i386/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
diff --git a/hosts/rpi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/rpi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/rpi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/rpi2b-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
diff --git a/hosts/rpi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/rpi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/rpi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/rpi2c-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
diff --git a/hosts/wbd0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/wbd0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/wbd0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/wbd0-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
diff --git a/hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index ba9ed4fa..12f9e83a 100755
--- a/hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/wbq0-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