Howdy,

The first patch that I submitted would fail after the base tarball was
updated because /dev/ptmx would exist.  The attached patch makes it
create it only when necessary.

-- 
Matt
--- pbuilder-modules.orig       2005-07-07 12:14:40.969565688 -0700
+++ pbuilder-modules    2005-07-07 12:16:06.374582152 -0700
@@ -147,6 +147,11 @@
     if [ "$USEDEVPTS" = "yes" ]; then
        echo " -> mounting /dev/pts filesystem"
        mkdir -p $BUILDPLACE/dev/pts || true
+       if [ ! -e $BUILDPLACE/dev/ptmx ]; then
+           mknod $BUILDPLACE/dev/ptmx c 5 2
+           chmod 0666 $BUILDPLACE/dev/ptmx
+           chown root:tty $BUILDPLACE/dev/ptmx
+       fi
        mount -t devpts /dev/pts "$BUILDPLACE/dev/pts" 
     fi
     for mnt in $BINDMOUNTS; do

Attachment: signature.asc
Description: Digital signature

Reply via email to