Version 2 (modified by 18 years ago) ( diff ) | ,
---|
SVN repository Management
First you need to get the content of the SVN repository:
# cd /to/desired/path # svn checkout ?????
or
# svn checkout ?????
Then depending on your distribution you'll have to follow one of the following recipe:
Debian
- for mondo package, cd into mondo directory and run ./bootstrap
- rename package directory: <package>-<latest release><branch><yymmdd>
Note: <branch> = 'bt' for berlios trunk and 'bb' for berlios branch - create tarball: tar cvzf <package>_<latest release><branch><yymmdd>.orig.tar.gz <package>-<latest release><branch><yymmdd>
- create new directory <package>-<latest release><branch><yymmdd>-1
- copy tarball in new directory and unpack there
- cd into tarball directory
- copy debian directory from last package
- dch --newversion <latest release><branch><yymmdd>-1
- build ;-)
RPM Based Distributions
This has currently only be tested with RedHat Enterprise Linux 3 and 4, Fedora Core 4/5, SLES 9, OpenSuSE 10 and Mandriva 10.2/2005 and 2006.0
From the sources rpm packages the nearest from your distro, you may build packages for your target distribution by doi,g:
# rpm -ivh mindi*.src.rpm mondo*.src.rpm # rpmbuild -ba /usr/src/*/SPECS/mondo.spec # rpmbuild -ba /usr/src/*/SPECS/mindi.spec # rpm -ivh /usr/src/*/RPMS/i?86/mondo*.i?86.rpm /usr/src/*/RPMS/i?86/mindi*.i?86.rpm
Or from the SVN tree extracted:
# tools/svn2build
which will create for you a build directory with all files expanded
then you can call
# tools/build2pkg
in order to produce local packages for your distribution.
If you have virtual machines of other distributions that you want to generate packages for, then after setting them up following the documentation under tools/qemu-vm.txt you can call:
# tools/build2qemu
to produce packages for all supported distros (in tools/DISTROS)
Location of mondo and mindi Files
Distributions | File base install |
/usr/sbin/mindi | /usr/local/sbin/mindi |
/usr/sbin/analyze-my-lvm | /usr/local/sbin/analyze-my-lvm |
/usr/sbin/mondoarchive | /usr/local/sbin/mondoarchive |
/usr/sbin/mondorestore | /usr/local/sbin/mondorestore |
/etc/m?nd? | /usr/local/etc/m?nd? |
/usr/share/doc/m?nd?* | /usr/local/share/doc/m?nd?* |
/usr/share/man/man8/m?nd?*.8 | /usr/local/share/man/man8/m?nd?*.8 |
/usr/lib/mindi | /usr/local/lib/mindi |
/usr/share/mondo | /usr/local/share/mondo |