summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_setup_pbuilder.sh
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2016-12-23 21:51:23 +0100
committerHolger Levsen <holger@layer-acht.org>2016-12-23 22:02:03 +0100
commit6fba605f781d0f8605d60b0ef313fa3479a39427 (patch)
tree9acb4fb17da155fbb1d631998df9380094598fcb /bin/reproducible_setup_pbuilder.sh
parent9957779d25e336809d0aed0ce374a87e117b591b (diff)
downloadjenkins.debian.net-6fba605f781d0f8605d60b0ef313fa3479a39427.tar.xz
debian reproducible: work around debootstrap bug #817236
Diffstat (limited to 'bin/reproducible_setup_pbuilder.sh')
-rwxr-xr-xbin/reproducible_setup_pbuilder.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh
index 88ac2433..f7b5b5d2 100755
--- a/bin/reproducible_setup_pbuilder.sh
+++ b/bin/reproducible_setup_pbuilder.sh
@@ -61,6 +61,13 @@ echo
echo "Configuring APT to ignore the Release file expiration"
echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/398future
echo
+echo "Working around debootstrap bug https://bugs.debian.org/817236"
+if [ -L /dev/ptmx ]
+ rm /dev/ptmx
+ mknod -m 666 /dev/ptmx c 5 2
+fi
+echo ".. done"
+echo
apt-get update
apt-get -y upgrade
apt-get install -y $@