Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Kernel upgrading and linux symlink
Date: Sat, 31 Oct 2009 18:42:00
Message-Id: hci0ch$7qr$1@ger.gmane.org
In Reply to: [gentoo-user] Re: Kernel upgrading and linux symlink by Harry Putnam
1 On 10/31/2009 08:09 PM, Harry Putnam wrote:
2 > Nikos Chantziaras<realnc@×××××.de> writes:
3 >
4 >> The link is created only if you have the "symlink" USE flag enabled.
5 >>
6 >> Also, "Gentoo requires that the [...] symbolic link points to the
7 >> sources of the kernel you are running" is not entirely correct. It is
8 >> required only when you want to build something against that
9 >> kernel.
10 >
11 >> . . . . Obviously, you need to create the symlink if you want to build
12 >> the newly installed kernel, even though the system is still running an
13 >> older one.
14 >
15 > Why is that obvious? That's what seemed confusing to me.
16
17 How obvious it is probably depends in prior knowledge here. There's
18 absolutely nothing in a running system that needs anything from
19 /usr/src/linux. If fact, you could, completely uninstall all kernel
20 sources and totally wipe out /usr/src. It's only needed when you build
21 something that needs kernel sources.
22
23 Of course if you didn't know that, then yes, it's not obvious :)