View Single Post

   
  #8 (permalink)  
Old 02-19-2008, 11:01 AM
Robert D. De Mars
 
Posts: n/a
Default Re: FS: upgrade Kernel

/dev/rob0 wrote:

> On Mon, 07 Jun 2004 03:07:06 +0000, Robert D. De Mars wrote:
>
>>This is what I do.
>>
>> 1. Log in as root

>
>
> Why?!? There is no any need to do typical compiling jobs as root. The
> more you use that root account the more potential risks you face:
> risk of you typing something wrong, risk of someone else having typed
> something wrong, or worse: a deliberate trojan.
>


Noted.

>
>> 2. Download the full kernel source code from

>
>
> If a vulnerability existed in your FTP/HTTP client, a hostile server
> could exploit you. This kind of thing happens to Windows/MSIE users
> every day.
>
>
>>www.kernel.org. The current stable kernel at this time is 2.6.2.

>
>
> ?!?!? It's 2.6.6, as the OP noted.
>


Yeah, sorry. These were the notes I made back when 2.6.2 was fresh.

> The rest of this is basically good advice, however:
>
>
>>option. Since my kernel source code is in /root/linux-2.6.2, I
>>will save my output files to /root/build/kernel. I believe an
>>added bonus to this option is the next time I run "make mrproper"
>>in my new /root/linux-2.6.2 kernel source, I believe my .config
>>file will remain safely in /root/build/kernel for future purposes

>
>
> Unless you use the O=/output/dir with that. Also, all your object files
> remain, so what you might have wanted from running mrproper in the
> first place is not achieved. I'd say that the O=/output/dir benefit is
> that you don't need to run make clean or mrproper. If you're doing a
> different ARCH or dramatically different configurations, specify a
> different output directory.


Thank you for the advice/correction.

Robert De Mars

--
===========================
http://b-o-b.homelinux.com
Long 93:18W Lat 45:09N
===========================
Reply With Quote