[Qa-jenkins-scm] [jenkins.debian.net] 01/01: debian reproducible: work around debootstrap bug #817236
Holger Levsen
holger at layer-acht.org
Fri Dec 23 21:02:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 6fba605f781d0f8605d60b0ef313fa3479a39427
Author: Mattia Rizzolo <mattia at debian.org>
Date: Fri Dec 23 21:51:23 2016 +0100
debian reproducible: work around debootstrap bug #817236
---
TODO | 1 -
bin/reproducible_setup_pbuilder.sh | 7 +++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/TODO b/TODO
index a705a34..980c75d 100644
--- a/TODO
+++ b/TODO
@@ -228,7 +228,6 @@ The idea is to run a jenkins.d.o host, which is maintained by DSA, but we are ma
* bring back sled9
* remove unwanted users from buildnodes (accidently created due to buggy update_jdn)
-* deal with #817236 / #849168 - probably using 'rm /dev/ptmx && mknod -m 666 5 2 /dev/ptmx' somewhere
* add arm64 to THANKS+README
* update variations table
* thank you tweet to codethink
diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh
index 88ac243..f7b5b5d 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 $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list