Vorlage:Checkout oldmake
- Login as anonym user.
- Enter the following commands:
you@pc:~$ mkdir $HOME/tuxbox-cvs you@pc:~$ cd $HOME/tuxbox-cvs you@pc:~/tuxbox-cvs$ export CVS_RSH=ssh you@pc:~/tuxbox-cvs$ cvs -d anoncvs@cvs.tuxbox.org:/cvs/tuxbox -z3 co -f -r oldmake -P .
Note: There is a dot at the end of the cvs command line and, yes, it actually belongs to the command.
- Checkout as cvs user with this example script:
echo "Checkout HEAD" CVSNAME="<username>" echo "--------------------------------------------------------------" cvs -z3 -d "$CVSNAME@cvs.tuxbox.org:/cvs/tuxbox" co -P . echo "--------------------------------------------------------------" echo "Checkout oldmake registred" echo "--------------------------------------------------------------" cvs -z3 -d "$CVSNAME@cvs.tuxbox.org:/cvs/tuxbox" co -r oldmake -P cdk/oldmake.files cvs -z3 -d "$CVSNAME@cvs.tuxbox.org:/cvs/tuxbox" co -r oldmake `cat cdk/oldmake.files`
- Remove some not needed files
echo "removing not needed files..." echo "--------------------------------------------------------------" rm -rfv cdk/make rm -fv cdk/root/etc/init.d/rcS.m4 rm -fv apps/tuxbox/plugins/pluginx/pluginx.c rm -fv boot/u-boot-config/u-boot.dbox2.h.m4 rm -fv boot/u-boot-config/u-boot.dbox2.2_6.h.m4
- updating
cvs up -f -r oldmake -dP > cvs.log 2>&1