Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /usr/src/linux gone
Date: Wed, 09 Mar 2011 23:42:41
Message-Id: 4D781022.6000803@gmail.com
In Reply to: [gentoo-user] /usr/src/linux gone by sean
1 On 10/03/11 01:29, sean wrote:
2 > I just did an update of my system and now the linux directory under
3 > /usr/src is not there.
4 > In fact under /usr/src there is nothing.
5 >
6 > Something change or would anyone have any ideas of what might have
7 > happened, and how to fix?
8
9 You rm'ed it while doing a fantastic imitation of a numbnut?
10 Portage for sure did not do it, so that leaves you.
11
12 emerge <kernel of your choice>
13 cd /usr/src
14 ln -s <kernel of your choice> linux
15 cd linux
16 zcat /proc/config.gz > .config
17 make oldconfig
18 make menuconfig
19 make
20
21 There's a USE flag that makes this a tad less manual, but you get the idea.
22
23 --
24 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] /usr/src/linux gone sean <tech.junk@×××××××××××.net>