Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Help with .deb packages

Subject: perfsonar development work

List archive

Re: [pS-dev] Help with .deb packages


Chronological Thread 
  • From: Gijs Molenaar <>
  • To: Cándido Rodríguez Montes <>
  • Cc: " List" <>
  • Subject: Re: [pS-dev] Help with .deb packages
  • Date: Wed, 20 Aug 2008 13:06:18 +0200
  • Openpgp: id=72EE99CA

Cándido Rodríguez Montes wrote:
> Hi all,
> I'm trying to make the deb package of the AS following the new
> instructions that Gijs gave us, but I'm having some problems.
> First, I saw that files proposed by Gijs are using Maven for building
> the package instead of using ant, but as Roman is using it too for
> building deb packages for MA, I though it is the right way. Well, it's
> very easy to adapt the pom.xml file to the AS.

Maven automatically downloads the dependecies needed to build the
package from the perfsonar package repository, so this can make life a
lot easier. Also the maven pom file is much less complex than a ant
build file.

> But the main problem I'm having right now is that I don't know how to
> assign right user permissions to the files contained in the package. If
> I execute "dpkg-buildpackage" as root user, all files are owned by root
> user. How to change it to the user tomcat55? Are you executing that
> command as root user?

You can do a "chown tomcat55 <file>" the debian/postrm script which is
run after installation of the package. There are examples postrm scripts
in the repository.


--
Gijs Molenaar

fingerprint C660 BABA 4B91 4B5C EB60 7739 4385 8ABA 72EE 99CA

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.16.

Top of Page