How to handle variable paths and multiple instances?

Ignacio Valdes ivaldes at hal-pc.org
Tue Oct 6 04:19:15 UTC 2009


Hi again all,

That sinking feeling that after 9 months you've been doing things all wrong :-)

So I have a package that installs in /opt/foobar with more than one
instance such as /opt/foobar/instance1 and /opt/foobar/instance2
Furthermore I want to be able to override the default path to
something like /opt/oofbar with /opt/oofbar/instance1
/opt/oofbar/instance2

I would like to be able to do all the above with just one rpm and
parameterize it such as with a default override file that the rpm
checks for and sources. How do others do multiple instances of more or
less the same package?

-- IV


More information about the Rpm-list mailing list