Use svn instead of cvs

This commit is contained in:
Ben Gras 2006-12-22 16:43:30 +00:00
parent dfaf30e54d
commit 324c6f583d

View file

@ -95,7 +95,7 @@ BS=4096
HDEMU=0 HDEMU=0
COPY=0 COPY=0
CVSTAG=HEAD SVNREV=""
PACKAGES=1 PACKAGES=1
while getopts "pchu?r:" c while getopts "pchu?r:" c
@ -111,14 +111,14 @@ do
HDEMU=1 HDEMU=1
;; ;;
c) c)
echo " * Copying, not CVS" echo " * Copying, not SVN"
COPY=1 COPY=1
;; ;;
p) p)
PACKAGES=0 PACKAGES=0
;; ;;
r) r)
CVSTAG=$OPTARG SVNREV=-r$OPTARG
;; ;;
u) u)
echo " * Making live USB-stick image" echo " * Making live USB-stick image"
@ -147,9 +147,7 @@ ROOTBLOCKS="`expr $ROOTKB \* 1024 / $BS`"
if [ "$COPY" -ne 1 ] if [ "$COPY" -ne 1 ]
then then
echo "Note: this script wants to do cvs operations, so it's necessary" echo "Note: this script wants to do svn operations."
echo "to have \$CVSROOT set and cvs login done."
echo ""
fi fi
TD1=.td1 TD1=.td1
@ -285,8 +283,8 @@ chmod -R u+w $RELEASEDIR/usr/lib
if [ "$COPY" -ne 1 ] if [ "$COPY" -ne 1 ]
then then
echo " * Doing new cvs export" echo " * Doing new svn export"
( cd $RELEASEDIR/usr && mkdir src && cvs export -r$CVSTAG src ) ( cd $RELEASEDIR/usr && svn export $SVNREV https://gforge.cs.vu.nl/svn/minix/trunk/src )
else else
( cd .. && make depend && make clean ) ( cd .. && make depend && make clean )
srcdir=/usr/src srcdir=/usr/src