Gentoo Archives: gentoo-user

From: Matt Harrison <iwasinnamuknow@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] provided kernel
Date: Sun, 28 Dec 2008 00:31:31
Message-Id: 4956C8E0.3000004@genestate.com
In Reply to: [gentoo-user] provided kernel by Simon
1 Simon wrote:
2 > Hi there,
3 > long ago i installed a 2.6.24 kernel in /usr/src manually. I had
4 > added the
5 > line "sys-kernel/vanilla-sources-2.6.24" (without quotes) to the file
6 > /etc/portage/profile/package.provided. There is no kernel in
7 > /var/lib/portage/world... This may be related to the fact i recently
8 > moved my
9 > make.profile to point to 2008 instead of 2007...
10 >
11 > Now, I'm trying to do a simple `emerge -uDN world` and for some
12 > reason, the
13 > nvidia-drivers keep trying to pull a gentoo-sources. Here's the output of
14 > `emerge -vpt nvidia-drivers`:
15 > [ebuild U ] x11-drivers/nvidia-drivers-96.43.09 [96.43.07] USE="gtk
16 > -acpi
17 > -custom-cflags% (-multilib)" 7,067 kB
18 > [ebuild N ] sys-kernel/gentoo-sources-2.6.27-r7 USE="-build
19 > -symlink" 0 kB
20 >
21 > The main problem is i really lack diskspace (on my eeepc 4gb) and I can't
22 > install that kernel (not even install and uninstall it). Besides, I would
23 > really like if emerge/portage could leave my kernel alone, completely.
24 >
25 > NeddySeagon and Miravlix tried to help on #gentoo, i tried modifying the
26 > .provided line to "virtual/linux-sources", didn't help. Tried putting a
27 > version
28 > that corresponds to a valid ebuild (2.6.24 doesn't exist in portage) like
29 > "sys-kernel/vanilla-sources-2.6.24.7" but that didn't help either.
30 >
31 > I've been able to hack my way around this problem for now (by masking
32 > the pkgs
33 > that were being updated that were pulling the kernel), but that is a
34 > dirty solution.
35 >
36 > I would really want to make portage leave my kernel(s) alone, if anyone
37 > can help...
38 >
39 > Thanks, Simon
40 >
41 >
42
43 How about specified sys-kernel/gentoo-sources instead of vanilla in
44 package.provided. If the nvidia ebuild depends on gentoo-sources and not
45 vanilla-sources...then naturally it will pull in gentoo no matter how
46 many vanilla kernels you have.
47
48 I haven't tested any of that but it seems logical to me and might be
49 worth a go :)
50
51 HTH
52
53 Matt

Replies

Subject Author
Re: [gentoo-user] provided kernel Simon <turner25@×××××.com>