perfsonar-dev - Re: [pS-dev] RPM questions
Subject: perfsonar development work
List archive
- 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:
Did you know about crust/rust?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: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).
- 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.
If you do write the procedure let me know, I'll try to look into this anyways when I get the chance.
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
- RPM questions, Gijs Molenaar, 03/18/2008
- Re: [pS-dev] RPM questions, Szymon Trocha, 03/18/2008
- Re: [pS-dev] RPM questions, Gijs Molenaar, 03/20/2008
- Re: [pS-dev] RPM questions, Loukik Kudarimoti, 03/20/2008
- Re: [pS-dev] RPM questions, Guilherme Fernandes, 03/20/2008
- Re: [pS-dev] RPM questions, Frederic LOUI, 03/21/2008
- Re: [pS-dev] RPM questions, Gijs Molenaar, 03/21/2008
- Re: [pS-dev] RPM questions, Guilherme Fernandes, 03/21/2008
- Re: [pS-dev] RPM questions, Gijs Molenaar, 03/21/2008
- Re: [pS-dev] RPM questions, Gijs Molenaar, 03/21/2008
- Re: [pS-dev] RPM questions, Frederic LOUI, 03/21/2008
- Re: [pS-dev] RPM questions, Guilherme Fernandes, 03/20/2008
- Re: [pS-dev] RPM questions, Loukik Kudarimoti, 03/20/2008
- Re: [pS-dev] RPM questions, Gijs Molenaar, 03/20/2008
- Re: [pS-dev] RPM questions, Szymon Trocha, 03/18/2008
Archive powered by MHonArc 2.6.16.