[gentoo-user] Emerging old kernel

2005-07-08 Thread Ian K
Hi there,
I need to get a 2.4 kernel onto a system, but
gentoo-sources now gives 2.6. I checked
gentoo-portage.com and it says that there is still a
2.4  ebuild in the gentoo-sources package(?). How do I
get it?
Thanks!!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerging old kernel

2005-07-08 Thread Holly Bostick
Ian K schreef:
 Hi there,
 I need to get a 2.4 kernel onto a system, but
 gentoo-sources now gives 2.6. I checked
 gentoo-portage.com and it says that there is still a
 2.4  ebuild in the gentoo-sources package(?). 

As indeed there is:

eix gentoo-sources
* sys-kernel/gentoo-sources
 Available versions:  2.4.28-r9 2.6.9-r9 2.6.10-r6 2.6.11-r8
2.6.11-r11 [M]2.6.12-r3 [M]2.6.12-r4
 Installed:   2.6.11-r8 2.6.11-r11
 Homepage:http://dev.gentoo.org/~dsd/gentoo-dev-sources
 Description: Full sources including the gentoo patchset for
the 2.6 kernel tree


 How do I get it?

Try this:

emerge -av =sys-kernel/gentoo-sources-2.4.28-r9


Don't forget to add

sys-kernel-2.4.28-r9

to /etc/portage/package.mask, or Portage will keep trying to upgrade
you. If there's a 2.4-series upgrade, that will also be blocked, but you
are likely to be keeping an eye open for any such updates, and can
adjust your package.mask accordingly.

 Thanks!!

HTH,
Holly


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerging old kernel

2005-07-08 Thread Holly Bostick

What I meant to say was:

 Don't forget to add
 
 
 sys-kernel-2.4.28-r9
 
 
 to /etc/portage/package.mask.

Stupid Thunderbird needs an escape character (or does it have one and I
just don't know it?).

Anyway, there should be a 'greater-than sign in fron of the package
name, to mask all packages above it (which atm basically means all 2.6
series kernels).

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerging old kernel

2005-07-08 Thread Peng
On 7/8/05, Holly Bostick [EMAIL PROTECTED] wrote:
 Ian K schreef:
  Hi there,
  I need to get a 2.4 kernel onto a system, but
  gentoo-sources now gives 2.6. I checked
  gentoo-portage.com and it says that there is still a
  2.4  ebuild in the gentoo-sources package(?).
 
 As indeed there is:
 
 eix gentoo-sources
 * sys-kernel/gentoo-sources
  Available versions:  2.4.28-r9 2.6.9-r9 2.6.10-r6 2.6.11-r8
 2.6.11-r11 [M]2.6.12-r3 [M]2.6.12-r4
  Installed:   2.6.11-r8 2.6.11-r11
  Homepage:http://dev.gentoo.org/~dsd/gentoo-dev-sources
  Description: Full sources including the gentoo patchset for
 the 2.6 kernel tree
 
 
  How do I get it?
 
 Try this:
 
 emerge -av =sys-kernel/gentoo-sources-2.4.28-r9
 
 
 Don't forget to add
 
 sys-kernel-2.4.28-r9
 
 to /etc/portage/package.mask, or Portage will keep trying to upgrade
 you. If there's a 2.4-series upgrade, that will also be blocked, but you
 are likely to be keeping an eye open for any such updates, and can
 adjust your package.mask accordingly.
 
  Thanks!!
 
 HTH,
 Holly

Could it be possible to mask sys-kernel/gentoo-sources-2.5 to block
all 2.6 kernels but no 2.4s?

-- 
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] Emerging old kernel

2005-07-08 Thread Tero Grundström

On Fri, 8 Jul 2005, Peng wrote:


Could it be possible to mask sys-kernel/gentoo-sources-2.5 to block
all 2.6 kernels but no 2.4s?


That works and you'll also get the updates to the 2.4.x kernel with 
'emerge -u world'.



--
T.G.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerging old kernel

2005-07-08 Thread Edward Catmur
On Sat, 2005-07-09 at 03:30 +0200, Holly Bostick wrote:
  Don't forget to add
  
  
  sys-kernel-2.4.28-r9
  
  
  to /etc/portage/package.mask.

Better would be to change profile to a 2.4 kernel profile. If you look
in /usr/portage/profiles/... you will see that (probably) under your
current profile there will be a 2.4 directory
e.g. /usr/portage/profiles/default-linux/x86/2005.0/2.4/ which not only
sets kernel to 2.4 but also makes other changes to stay compatible e.g.
setting headers to 2.4 and setting dev-manager to devfsd instead of
udev. So switch your /etc/make.profile symlink to a 2.4 profile and all
will be happy. The wonders of Gentoo stackable profiles, indeed.

Ed

-- 
gentoo-user@gentoo.org mailing list