[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: how to determine relocated package location during %post phase
- From: Jeff Johnson <n3npq nc rr com>
- To: rpm-list redhat com
- Subject: Re: how to determine relocated package location during %post phase
- Date: Sat, 20 Sep 2003 09:06:51 -0400
Norm Bagley wrote:
I have set up an rpm package to support install relocation using
Prefix:. During the %post phase, I want to run an executable that is
installed with the package, and it's first argument is the filename of
another file that is installed with the package. In other words, the
package contains an executable that post-processes one of the
installed files. Can I do this while supporting re-location? How? Thanks.
Print the environment in %post and try a relocated install. You will see
the relocated paths in environment variables like RPM_INSTALL_PREFIXn.
Note carefully that you will need to control for what version of rpm is used
to install with relocations, as there are several versions of rpm with
broken
--relocate.
73 de Jeff
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]