Matthew Miller wrote:
On Wed, Jul 20, 2005 at 06:44:44PM -0600, Philip Prindeville wrote:
cd /usr/src/redhat/SPECS
rpmbuild -bc --target x86_64 --buildroot /usr/src kernel-2.6.spec
^^^^^^^^^^^
after installing the kernel source RPM, then some very bad things happen.
It tries to do an "rm -rf *" inside /usr/src. Ouch. That's not right!
yeah don't do that!
Now you tell me. ;-)
What's the standard way to get the source RPM to unpack into
/usr/src/kernels
and build in there?
Any particular reason you want that? (Other than habit, I mean....)
Well, various other software expects to find things in there, and won't
autoinstall
when it isn't.
-Philip