--relocate and --prefix ?

Andrei Kazarov Andrei.Kazarov at cern.ch
Wed Aug 19 15:48:20 UTC 2009


Hello,

I'm a bit puzzled: when I try to use options --relocate and --prefix together (installing packages), it says it's impossible. I'd be happy with --relocate option only, but it does not redefine "Prefix" defined in .spec file, and RPM_INST_PREFIX value is not "relocated" at all.

In other words, I need more specific relocation then simply changing the prefix, but at the same time I need to redefine RPM_INST_PREFIX for my pre/post-inst scripts.

Is it doable?

Thanks for any hint,
Andrei



More information about the Rpm-list mailing list