Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How can I prevent gentoo-sources being installed?
Date: Sun, 24 Mar 2013 17:39:58
Message-Id: CADPrc82ytkm9YL6aR2iaDaUfRjiubVYjrcts+MWvrxVVkfM3wg@mail.gmail.com
In Reply to: Re: [gentoo-user] How can I prevent gentoo-sources being installed? by Jarry
1 On Sun, Mar 24, 2013 at 11:14 AM, Jarry <mr.jarry@×××××.com> wrote:
2 > On 24-Mar-13 17:46, Neil Bothwick wrote:
3 >>
4 >> On Sun, 24 Mar 2013 17:26:03 +0100, Jarry wrote:
5 >>
6 >>> [ebuild N ] sys-kernel/gentoo-sources-3.7.10:3.7.10 USE="-build
7 >>> -deblob -symlink" 68,335 kB
8 >>> [ebuild N ] virtual/linux-sources-0 0 kB
9 >>> [ebuild R ] sys-apps/kmod-12-r1 USE="tools zlib -debug -doc -lzma
10 >>> -static-libs" KERNEL="(linux%*)" 0 kB
11 >>
12 >>
13 >>> Why in the heavens name should be gentoo-sources pulled in as
14 >>> dependency of whatever?
15 >>
16 >>
17 >> As a dependency of virtual-sources, which is probably pulled in by kmod.
18 >> Adding --tree would have told you for sure.
19 >>
20 >> You may get away with adding gentoo-sources to package.provided.
21 >
22 >
23 > Thanks, this works (never heard of this file before). But there
24 > is one small problem: no wildcards are allowed, so whenever new
25 > sorces come I'll have to edit package.provided again, and again...
26 >
27 > BTW why should kmod depend on kernel-sources? Or even better, why
28 > should be kmod installed, if I have static (non-modular) kernel?
29
30 Because your use case is not standard. The normal situation for users
31 with kmod installed (and you have already kmod installed, since in
32 your --pretend run appears as to be reinstalled) is for them to use
33 kernel modules. The developers cannot handle every possible
34 combination of configurations, so defaults are set for the least weird
35 cases, or the common case even.
36
37 Your setup is not the norm; therefore, it depends on you to keep it as
38 you like it.
39
40 Regards.
41 --
42 Canek Peláez Valdés
43 Posgrado en Ciencia e Ingeniería de la Computación
44 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] How can I prevent gentoo-sources being installed? Felix Kuperjans <felix@××××××××××××××.com>
Re: [gentoo-user] How can I prevent gentoo-sources being installed? Jarry <mr.jarry@×××××.com>