removing old kernel source?

Arthur Pemberton dalive at flashmail.com
Fri Jun 3 01:12:22 UTC 2005


Christopher J. Bottaro wrote:

>Hi,
>I'm using FC3 and I installed the kernel source using these steps:
>
>rpm -Uvh ftp://mirrors.kernel.org/fedora/core/updates/3/SRPMS/kernel-`uname
>-r`.src.rpm
>cd /usr/src/redhat/SPECS
>rpmbuild -bp --target=`uname -m` kernel-2.6.spec
>
>I did all that with kernel-2.6.11-1.14_FC3 and it put the kernel source
>in /usr/src/redhat/build/kernel-2.6.11.
>
>Now Red Hat released kernel-2.6.11-1.27_FC3 and I want to rebuild my kernel
>again, but I'm afraid its going to put the source
>in /usr/src/redhat/build/kernel-2.6.11 again, mixing with the old source I
>built.
>
>  
>
That shouldn't happen.

>How do I get rid of the old source
>
# rm -rf /usr/src/redhat/build/kernel-2.6.11

>or make the new source be put in a
>different place?
>
>Thanks for the help,
>-- C
>
>  
>




More information about the fedora-list mailing list