From: [EMAIL PROTECTED] on behalf of Kshitij Shashank Limaye
Sent: Wed 03/08/2005 09:10
To: [email protected]
Subject: [Oscar-devel] Question regarding Oscar Packaging
Hello,
I am trying to create a Globus-Oscar Package. I had a
few questions regarding
the packaging,as I have reached midway of the package
creation.
Here is what I did.
1. I created rpms for junit, apache-ant
(pre-requisites for Globus) and Globus
with installtion directory as /opt
(Oscar default).
2. Created a package area as suggested by Howto and put
rpms in RPMS area.
3. Wrote a config.xml (attached for viewing)
4.
Wrote a configurator.html for configuartion as suggested. The reason
for
writing the configurator is that Globus installtion cannot proceed
without Java
being installed and JAVA_HOME being set. Also I want the check
with user if
Apache-ant has been installed or not. If not then we install
it.
5. I wrote the post_configure as suggested. So the documentation says
that a
globus.conf file will be generated. Now I want to read this conf file
which
would have a user "yes", "no" (on whether JAVA or ANT is installed)
for
questions and then decide which rpm to install.
6. I couldnt
locate in the document the next step to be done to read the conf
file and
decide on the rpm to install. Or do the rpms have to be intelligent
enough to
read the .conf file. As the next script after post_configure
is
post_server_rpm_install, which is post rpm installtion, I need to decide
based
on results of post_configure whether or not to install apache-ant. Also
if java
hasnt been installed then I should not proceed with rpm
installtions.
7. Also I need the setup script to generate a folder
/opt/globus for me. Is that
possible ( I mean conferring to the Oscar
standards).
I hope I have explained my problem. Please let me know
how I can proceed with
the packaging.
I have attached the config.xml,
configurator.html and post_configure script for
your viewing.
Thanks
in advance.
Regards,
Kshitij
Limaye
----------------------------------------------------------------
This
message was sent using IMP, the Internet Messaging
Program.
