More strangeness kernel-2.6.12-1.1372_FC3 update

Philip Prindeville philipp_subx at redfish-solutions.com
Thu Jul 21 19:35:15 UTC 2005


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




More information about the fedora-list mailing list