Re: tweaking rpm program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux