You find all the additional tools on our FTP Server: ftp://ftp.devil-linux.org/pub/devel/sources/tools/
LFTP is used to download and keep the source files up to date. Download this program and install it into your main distribution, if you don't already have it.
Devil-Linux needs a special build environment, so that you don't run into problems and don't mess up your current system. We use a "Linux From Scratch" System (here called LFS ) to do this.
Goto ftp://ftp.devil-linux.org/pub/devel/sources/ and download the file that starts with lfssystem from the directory which matches the DL version you want to build. Unpack the lfssystem file in a directory, such as /usr/src or any other directory you prefer.
When you're new to working with CVS, take a look at the documentation on http://www.cvshome.org, this will give you some more information what CVS is and how it works.
The next step is to get the build system from our Sourceforge CVS Server.
The files from our CVS repository can be checked out through anonymous (pserver) CVS with the following instruction set. When prompted for a password for anonymous, simply press the Enter key.
Go into your LFS System directory (e.g. /usr/src/lfssystem)
cvs -d:pserver:anonymous@cvs.devil-linux.sourceforge.net:/cvsroot/devil-linux login
cvs -z3 -d:pserver:anonymous@cvs.devil-linux.sourceforge.net:/cvsroot/devil-linux co build
You find now the build systetem in the sub directory build/ .
![]() | |
If you don't want to use the latest development version (which is probably not stable or won't even compile), you have to add the -r parameter to the checkout command. You can see the list of available tags when you browse the CVS repository http://cvs.sourceforge.net/viewcvs.py/devil-linux/build/. To get i.e. the stable 1.0.x release, use the following command: cvs -z3 -d:pserver:anonymous@cvs.devil-linux.sourceforge.net:/cvsroot/devil-linux co -r rel-1-0-patches build |
Because other users are also working on the build system, you should get the updated version of our build system on a regular basis.
Just go into the build/ directory and execute the following command:
cvs update -d -P
![]() | |
You should update from the CVS server on a regular basis, in order the build an up-to-date system. |
![]() | |
After updating the CVS files, make sure you use the latest sources. Otherwise the compile could fail or you use an outdated system. |
The HEAD branch contains always the latest development.
Question: How can I get a list of all tags in a project?
Answer 1: http://www.zevils.com/doc/cvsbook/cvsbook_6.html#SEC127
Answer 2: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/devil-linux/build
Getting the source files is fairly easy, just go into the build/ directory and execute the script ./update_src.
![]() | |
You can keep your source up-to-date, by executing this command on a regular basis. |
![]() | |
The update deletes all file which are not on the FTP server, so be carefull with your own extensions. |