[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Dynamic package renaming



On Mon, Jan 28, 2002 at 03:47:00PM -0600, Dr. Doug L. Hoffman wrote:
> Is there a way to change the package name from the command line during an
> install? I'm in a situation where I need to install many versions and

Nope.

> copies of the same package with different relocations (this is to support a
> large number of distrbuted applications that all load of the same shared
> NFS file system). In order to protect one version/copy of a package from
> another I want to use a single rpm database but the ease with which one can
> wipe out duplicate packages during an upgrade makes me think the best thing
> to do is to change the name of the packege for each install location. The
> installation is actually handled via a web interface that traps the users
> into a limited number of install locations so consistency is not a

Why not write a script to build packages with custom name in a loop?
'Tain't hard, cpu cycles are cheap.

> problem. Can this be done or do I need to hack the rpm code to add my own
> option?

The hack would be a bit trickier than s/oldname/newname/ as each and
every package also supplies a Provides: name = version-release, and there's
also some other subtleties.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@jbj.org	(jbj@redhat.com)
Chapel Hill, NC





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []