Re: Making a RPM installer - Mailing list pgsql-general

From Devrim GÜNDÜZ
Subject Re: Making a RPM installer
Date
Msg-id 1215667814.2759.5.camel@laptop.gunduz.org
Whole thread Raw
In response to Re: Making a RPM installer  (Jamie Deppeler <jamie@doitonce.net.au>)
List pgsql-general
On Thu, 2008-07-10 at 11:02 +1000, Jamie Deppeler wrote:
> There is a few reason why I am making this installer
>
> 1. Need to make a installer that just uses one rpm file

"Need" or "want"? I'd not maintain one RPM file that contains Tomcat5,
Java and PostgreSQL -- it would be PITA, imho. But of course, that is
me.

> 2. It needs to come with a prebuild database
> 3. Custom changes have been made to tomcat configuration

Both (2) and (3) are doable with both custom init scripts and custom
%post operations in spec file. I have done (2) in the past. You can add
your custom SQL file either to spec file or to init script. Same is
valid for (3). Add those changes as a patch to RPM itself

-HTH.
--
Devrim GÜNDÜZ
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                   http://www.gunduz.org


Attachment

pgsql-general by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: array sort for varchar arrays?
Next
From: Klint Gore
Date:
Subject: Re: SELECT Query returns empty