Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] RPM questions

Subject: perfsonar development work

List archive

Re: [pS-dev] RPM questions


Chronological Thread 
  • From: Gijs Molenaar <>
  • To: Guilherme Fernandes <>
  • Cc:
  • Subject: Re: [pS-dev] RPM questions
  • Date: Fri, 21 Mar 2008 17:10:36 +0100

Guilherme Fernandes wrote:
Next to that, Maybe not the right pace to address this but I don't know where to do it else, fernandes; I noticed that the current RPM build scripts has some strange bugs/design flaws:

- other packages installed in /home/perfsonar/webapps will also be put into the RPM you create
- Generating the packages from /home/perfsonar/webapps is a bad idea if this is also the installation path. I can't deploy my generated package now on the same machine, I need to (re)move the manually installed service before. I'm new to RPM building, but I've read that a sort of fakeroot option is available. Also, specifying owner of the files can be done at package time. I think it is a way better idea to modify the script so you can build the RPM's with any user from any location. I'll try to do this manually and write out a procedure.
You're right, this was the simpler and direct way to do it, we were first aiming on having it working and tested (to validate the installation of perfSONAR by packages for all the services). The package builder is meant as a helper script to facilitate building, being able to build and install the package in the same machine wasn't a requirement at the time I wrote it. But having a fakeroot option is a very good suggestion (specially since you wont need to do it with the user perfsonar and have the /home/perfsonar directory fixed).

If you do write the procedure let me know, I'll try to look into this anyways when I get the chance.
Did you know about crust/rust?

http://rust.sourceforge.net/

It looks quite easy to use, and supports chroot. Don't know yet how it handles permissions and pre- post tasks like modifying config files and creating symlinks, but interesting to have a look at.

We are currently using maven to manage our code tree of the plugin and I noticed there is a maven plugin to automatically create RPM's. i'll have a look at this too.

http://mojo.codehaus.org/rpm-maven-plugin/

Ok, I'm leaving now, I will continue investigating next week.

- gijs



Archive powered by MHonArc 2.6.16.

Top of Page