From 6fba605f781d0f8605d60b0ef313fa3479a39427 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 23 Dec 2016 21:51:23 +0100 Subject: debian reproducible: work around debootstrap bug #817236 --- bin/reproducible_setup_pbuilder.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bin') 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 $@ -- cgit v1.2.3-70-g09d2