Gentoo Archives: gentoo-dev

From: Mike Auty <ikelos@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] linux-info.eclass: lacking sources, config checks and module building
Date: Sun, 30 Aug 2009 19:32:45
Message-Id: 4A9B1C42.8030805@gentoo.org
In Reply to: Re: [gentoo-dev] linux-info.eclass: lacking sources, config checks and module building by "Robin H. Johnson"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Robin H. Johnson wrote:
5 > If you feel like reviewing ~140 packages and filing bugs for them, I
6 > won't stop you. But I'm just going to go and fix the ones that seem
7 > simple enough to me, and only file bugs for the complex ones.
8
9 Ok, I'll do what I can tomorrow. I'm off to bed now... 5:)
10
11 > Err, I'm not following what you claim is the problem here?
12 >
13 > cat/foo-mod:
14 > inherit linux-mod
15 > CONFIG_CHECK="!option"
16 >
17 > ...
18 >
19 > The user sets USE=-modules because they have built cat/foo-mod on their
20 > own, into the kernel. foo-mod installs nothing
21
22 Just checking that it will actually install nothing, rather than failing
23 out with an error because the kernel has "option" set. I'm just
24 re-iterating that CONFIG_CHECK should only occur if USE="modules". If
25 USE="-modules", then the CONFIG_CHECK options should probably be ignored
26 shouldn't they?
27
28 > It needs to be ALWAYS available. The ipset bug I linked earlier in the
29 > thread was an example of that. The userspace is useless without the
30 > kernel code, but there is nothing to stop the user patching it into
31 > their kernel and not having it as a module at all (as is the case on a
32 > couple of my work boxes, which is why the bug got filed).
33
34 Ok, fair enough. However, in that instance, ipset is a userspace
35 dependency, I was talking about kernel modules that have no userspace
36 dependencies. I suppose there could be a case where someone is trying
37 to custom build a userspace tool that isn't in portage yet, but I still
38 think it might cause confusion to allow USE="modules" on kernel modules
39 (without any dependencies) that then install nothing. I'm wondering
40 which will cause more bugs to be filed?
41
42 Mike 5:)
43 -----BEGIN PGP SIGNATURE-----
44 Version: GnuPG v2.0.11 (GNU/Linux)
45
46 iEYEARECAAYFAkqbHEEACgkQu7rWomwgFXrEpQCeIMWofCtvwHKJoZsb3/qUyLcP
47 tTUAoIb3Sr645x6NY82LXK6i/3g75NF5
48 =uaOB
49 -----END PGP SIGNATURE-----

Replies