Hi,
as I'm not sure I'll have enough time to care about this tomorrow I want to
upload the redesigned OSCAR build system today (with the risk that the nightly
build fails if DonInn has no time to change it). So I'm finished a bit earlier
than announced on the call and at the conference ;-) This step is "PHASE 1"
towards an OSCAR distributed as a set of packages.
Here is the changelog of the big changeset (sorry, I updated the svn:keywords
of all scripts/* files, don't want to try reverting them as I'm afraid to lose
some changes).
Summary:
Instead of the sequence:
./autogen.sh
./configure
make dist
you now just need to do
make dist
The process is 10-20 times faster, depending on what you do.
automake and configure are gone. Also all Makefile.am are gone.
In order to ease testing and development one can now install directly the SVN
checkout by doing "make test".
If you want to test and develop directly on the OSCAR SVN do (inside the trunk
checkout):
make test
This will set up the needed repositories, build the perl-Qt related files in
src but _not_ insert the copyright mesages and not build the docs. After this
you will be able to do:
./install_cluster eth0
from inside the trunk checkout.
If you finished your work you should try
make clean
which will clean up the src directory and remove the checksum directory tmp/
such that your checkout will be as fresh as before.
If you want to build the OSCAR distribution you will need to do:
make dist
This command will create a set of tarballs in the _parent_ directory of the
trunk checkout!
The OSCAR distibution comes in two OSCAR tarballs and a set of repository
tarballs:
oscar-base-OSCARVERSION.tar.gz : the base OSCAR tarball stripped of
almost every binary packages (rpms)
oscar-srpms-OSCARVERSION.tar.gz : the SRPMS, you only need this if you
want to rebuild rpms
oscar-repo-common-rpms-OSCARVERSION.tar.gz :
repository of noarch rpms used on all
supported distributions
oscar-repo-DISTRO-VER-ARCH-OSCARVERSION.tar.gz :
repository of distro and architecture
specific rpms.
For an OSCAR installation:
- Download the oscar-repo-common-rpms and the oscar-repo-DISTRO-VER-ARCH
tarballls suitable for the distribution(s). Unpack them in /tftpboot/oscar.
- Download the oscar-base tarball. Unpack it in an appropriate directory.
Rename the unpacked directory, if you want (e.g. /opt/oscar)
- In the unpacked directory (e.g. /opt/oscar) execute:
./install_cluster ETH_INTERFACE
(ETH_INTERFACE is the cluster internal interface on the head node,
e.g. eth0).
Please test this, it's quite fresh code...
Regards,
Erich
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel