tweaking rpm program

Alexander Apprich a.apprich at science-computing.de
Fri Jul 9 08:16:27 UTC 2004


Parameshwara Bhat wrote:
> 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.

rpm2cpio your-kernel-src.rpm | cpio -idv

That should unpack the rpm to the directory you are currently in.

> 
> Parameshwara Bhat

Alex





More information about the fedora-list mailing list