tweaking rpm program

Greg Wildman rhlist at itns.co.za
Fri Jul 9 09:14:19 UTC 2004


Parameshwara Bhat said the following on 09/07/2004 08:58:
> Hello list
> 
> Is it possible in any way to kernel-source rpm to go to a directory of 
> your choice?
> 
> The context is, one is advised to build kernel sources as a normal user 
> until you are ready to 'make install'. A source rpm installs by default 
> into /usr/src/kernel-version which has no write permission for a normal 
> user. And a normal user needs to do a 'su' to build there.

rpm -Uhv --relocate /usr/src=/tmp kernel-source-2.6.5-1.358.i386.rpm

substitute /tmp with the directory of choice. You still need to be root 
to install the rpm though.


-- 
Redmond, we have a problem.





More information about the fedora-list mailing list