Re: Making a RPM installer

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Jamie Deppeler <jamie(at)doitonce(dot)net(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Making a RPM installer
Date: 2008-07-10 05:30:14
Message-ID: 1215667814.2759.5.camel@laptop.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Klint Gore 2008-07-10 05:33:49 Re: SELECT Query returns empty
Previous Message Pavel Stehule 2008-07-10 05:24:53 Re: array sort for varchar arrays?