LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-27-2006, 11:09 PM   #1
kurrupt
Member
 
Registered: Jul 2004
Distribution: Debian, Ubuntu, FreeBSD, RHEL
Posts: 202

Rep: Reputation: 31
Stopping portage from emerging later kernel versions...


Hey guys, Every time I update my gentoo box I always see that a new kernel version has been installed on my box. I was just wondering how am i able to keep portage from emerging newer versions of the kernel. Iam currently using Kernel-2.6.11-r9 and i dont want anything later. I tried locking it down in /etc/portage/package.keywords like other packages.

For example.

Quote:
=app-emulation/vmware-workstation-5.5.1.19175
That basically forces portage to see that i only want that version of vmware. But it does not work the same way with the kernel.
 
Old 01-28-2006, 03:12 AM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
you know it only downloads the source and puts it in /usr/src/ right? it shouldn't touch the kernel you are running or the /usr/src/linux symlink.
 
Old 01-28-2006, 03:59 PM   #3
kurrupt
Member
 
Registered: Jul 2004
Distribution: Debian, Ubuntu, FreeBSD, RHEL
Posts: 202

Original Poster
Rep: Reputation: 31
yep i know that, but still its a waste of B/W and hard drive space when it downloads a 40MB kernel everytime and compiles it all and it then extracts it.. even though its not in use
 
Old 01-28-2006, 04:18 PM   #4
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
kurrupt

Add your current kernel to /etc/portage/package.mask if the file package.mask does'nt exist, create it

Enter it like this

Code:
>sys-kernel/gentoo-sources-2.6.11-r9
Next time you update portage should leave your kernel alone

Pete
 
Old 01-28-2006, 10:17 PM   #5
kurrupt
Member
 
Registered: Jul 2004
Distribution: Debian, Ubuntu, FreeBSD, RHEL
Posts: 202

Original Poster
Rep: Reputation: 31
excellent, Thank you very much!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emerging ppc kernel in gentoo MACSRULE Linux - Newbie 3 09-12-2004 12:48 AM
How to keep modules/drivers across kernel recompiles and kernel versions? Pisces107 Linux - General 5 01-21-2004 08:29 PM
Kernel versions i286 Linux - General 3 01-11-2004 12:07 PM
Kernel versions bharden Linux - Software 5 05-27-2003 03:56 PM
Kernel Versions 0versight Linux - Newbie 5 01-16-2003 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration