Title: Re: [Oscar-devel] Question regarding Oscar Packaging
Hi Ksh:
 
This is a bit tricky...  for the beta package, can we just assume that we always install java and apache-ant packages?  Let's say we install both packages in /opt, and we don't clobber the environment variables, I think that it should be safe...
 
Comments on config.xml:
 
- <url> should be the URL of the project webpage
- We will no longer support Red Hat Linux 9 in the next release (OSCAR 4.2), and for OSCAR 4.3/5.0, Fedora Core 2 will probably be deprecated as well...
- for <rpm> tag, you only need the name of the RPM, no need to fill in version info + arch, eg. 'ant-oscar1.0-1.i386.rpm' should really be 'ant-oscar'
 
Cheers,
 
Bernard


From: Kshitij Limaye [mailto:[EMAIL PROTECTED]
Sent: Thu 04/08/2005 19:55
To: Bernard Li
Cc: [email protected]
Subject: Re: [Oscar-devel] Question regarding Oscar Packaging

Hello Bernard,
So can we check this in the setup/preconfigure script and dynamically
decide which rpm to install. Do we use this script to remove the install
line in config.xml or there would a more graceful way to do it? The
howto didnt explain the format for pre-configure,so do let me know how
we go about doing this.

I am pasting the config.xml in the mail itself, I dont know why it isnt
sending the attachement or is it inlining it.
<?xml version="1.0" encoding="ISO-8859-1"?>
<oscar>
<name>Globus Toolkit</name>
<version>
<major>3</major>
<minor>2</minor>
<subversion>1</subversion>
<release>1</release>
<epoch>1</epoch>
</version>
<class>third-party</class>
<summary>Globus Toolkit 3.2 Installer</summary>
<license>GPL</license>
<group>Application/System</group>
<url>http://www-unix.globus.org/toolkit/survey/index.php?download=gt3.2-all-source-installer.tar.gz</url>
<packager>
<name>Kshitij Limaye</name>
<email>[EMAIL PROTECTED]</email>
</packager>
<description> Globus Toolkit has become a defacto standard for Grid
installtions. This package installs the the needed pre-requisite
softwares and the Globus Toolkit version 3.2 on the head node of the
OSCAR Cluster.
</description>
<rpmlist>
<filter group="oscar_server" distribution="redhat"
distribution_version="9" architecture=’ia32’/>
<rpm>ant-oscar1.0-1.i386.rpm</rpm>
<rpm>junit-oscar1-.0-1.i386.rpm</rpm>
<rpm>gt-oscar-3.2-1.i386.rpm</rpm>
</rpmlist>
</oscar>

I hope you do get to see this config.xml ;^)

Regards,
Kshitij
Bernard Li wrote:

> Hi Kshitij:
> Perhaps as part of your scripts, you can check to see if JAVA_HOME is
> already set. Also, you can do something like 'which java' to see if
> java is in the search path (same with apache-ant). I guess you can
> install the java/apache-ant RPMs as a last resort, if you cannot
> easily search for the required binaries.
> BTW, I still didn't see the config.xml... :)
> Cheers,
> Bernard
>
> ------------------------------------------------------------------------
> **


Reply via email to