_prefix hard-coded to /usr?

Mitko Haralanov mitko at qlogic.com
Mon Nov 30 18:11:48 UTC 2009


On Sat, 28 Nov 2009 11:39:24 -0800
"hmiller at hiwaay.net" <hmiller at hiwaay.net> wrote:

> However, when I echo ${_prefix} it is not set to /usr/local.  It is  
> set to /usr

How are you echo'ing %{_prefix}? If it is from inside your %post
script, does it show the correct value?

You could look into the $RPM_INSTALL_PREFIX variable.

-- 
Mitko Haralanov					 mitko at qlogic.com
Senior Software Engineer			     650.934.8064
NSG InfiniBand Engineering		    http://www.qlogic.com
==========================================


More information about the Rpm-list mailing list