Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2006 03:50:17 GMT
From:      serge.gagnon@b2b2c.ca (Serge Gagnon)
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/90107: cvsd imprisoned doesn't work with devfs
Message-ID:  <200606010350.k513oH1R002850@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/90107; it has been noted by GNATS.

From: serge.gagnon@b2b2c.ca (Serge Gagnon)
To: bug-followup@FreeBSD.org
Cc: walter@pelissero.de
Subject: Re: ports/90107: cvsd imprisoned doesn't work with devfs
Date: Wed, 31 May 2006 23:48:42 -0400

 You also need this extra patch 
 
 ----- begin extra-patch-cvsd-buildroot.in -----
 --- cvsd-buildroot.in.orig	Wed May 31 23:39:06 2006
 +++ cvsd-buildroot.in	Wed May 31 23:41:50 2006
 @@ -213,37 +213,7 @@
  done
  
  # populate /dev (need root privileges for this)
 -echo $ECHO_N "creating $ROOT/dev devices... $ECHO_C"
 -DEVICES="null zero"
 -MISSINGDEVS=""
 -for d in $DEVICES
 -do
 -  if [ -r "$ROOT/dev/$d" ]
 -  then
 -    :
 -  else
 -    MISSINGDEVS="$MISSINGDEVS $d"
 -  fi
 -done
 -if [ -n "`echo $MISSINGDEVS`" ]
 -then
 -  if (cd /dev ; tar chpf - $MISSINGDEVS) | \
 -     ( cd "$ROOT/dev" ; tar xpf - > /dev/null 2>&1 )
 -  then
 -    # check if we can use the devices
 -    if ( echo TEST > "$ROOT/dev/null" && \
 -         echo TEST > "$ROOT/dev/zero" )  2> /dev/null
 -    then
 -      echo "done."
 -    else
 -      echo "FAILED (unable to use devices)"
 -    fi
 -  else
 -    echo "FAILED."
 -  fi
 -else
 -  echo "already there."
 -fi
 +# doesn't need to do this on FreeBSD >= 5
  
  # update /etc/passwd
  echo $ECHO_N "adding users to $ROOT/etc/passwd...$ECHO_C"
 ----- end extra-patch-cvsd-buildroot.in -----
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606010350.k513oH1R002850>