Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] protect running kernel fomr depclean?
Date: Sun, 12 Apr 2009 19:26:32
Message-Id: 5bdc1c8b0904121226g67f0e63dqb6b9db235596965a@mail.gmail.com
In Reply to: Re: [gentoo-user] protect running kernel fomr depclean? by Dale
1 OK, it's already emerged but I suppose I could add the specific
2 version to the world file and that would protect it also.
3
4 Thanks,
5 Mark
6
7 On Sun, Apr 12, 2009 at 12:14 PM, Dale <rdalek1967@×××××.com> wrote:
8 > Mark Knecht wrote:
9 >> A problem I often have after a big update is emerge -p --depclean
10 >> tells me it is going to remove my running kernel.
11 >>
12 >>  sys-kernel/gentoo-sources
13 >>     selected: 2.6.26-r4
14 >>    protected: none
15 >>      omitted: 2.6.25-r8 2.6.27-r10
16 >>
17 >> dragonfly ~ # uname -a
18 >> Linux dragonfly 2.6.26-gentoo-r4 #1 SMP PREEMPT Tue Dec 9 11:08:39 PST
19 >> 2008 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
20 >> dragonfly ~ #
21 >>
22 >> My general reaction is to remove packages by hand at this point but
23 >> today I have 30-40 and would like to protect this kernel source. Is
24 >> there a generaic way to *always* protect the kernel that is currently
25 >> running?
26 >>
27 >> Thanks,
28 >> Mark
29 >>
30 >>
31 >>
32 >
33 > Just emerge it with the exact version.  emerge
34 > =sys-kernel/gentoo-sources-2.6.26-r4 should work.  There is a option to
35 > add it to world without actually "compiling" it again but I can't recall
36 > what it is.
37 >
38 > Feel free to correct any typo's.
39 >
40 > Dale
41 >
42 > :-)  :-)
43 >
44 >