From: | Ashley Dixon <ash@××××××××××.uk> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] preparing for make menuconfig | ||
Date: | Thu, 08 Oct 2020 06:53:57 | ||
Message-Id: | 20201008065149.pfi4fvlkxfy6wooy@ad-gentoo-main | ||
In Reply to: | Re: [gentoo-user] preparing for make menuconfig by Ashley Dixon |
1 | On Thu, Oct 08, 2020 at 07:30:45AM +0100, Ashley Dixon wrote: |
2 | > This is just a total guess, but I can suppose that lspci uses it to convey |
3 | > which kernel modules are being used by each PCI device. |
4 | |
5 | Clarification: kmod is used specifically with the `-k` switch of lspci: |
6 | |
7 | $ ash-euses -o pciutils:kmod |
8 | sys-apps/pciutils:kmod - Enable sys-apps/kmod support for the -k switch |
9 | in lspci command |
10 | |
11 | This causes the LIBKMOD variable to be passed to the Makefile [1, 2]: |
12 | |
13 | pemake() { |
14 | emake \ |
15 | [...] |
16 | LIBKMOD=$(multilib_native_usex kmod) \ |
17 | [...] |
18 | "$@" |
19 | } |
20 | |
21 | Anyway, with regards to your problem: if you're just installing your system now, |
22 | then you're probably getting this error because `/lib/modules` doesn't exist |
23 | inside your chroot. This path is hardcoded into pciutils [3]; this has been |
24 | modified by some vendors of the package, but not Gentoo [4]. You needn't worry |
25 | unless you're still getting this error outside of your chroot, once you've |
26 | completed the installation. Just focus on building a kernel for now. |
27 | |
28 | [1] https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/pciutils/pciutils-3.7.0.ebuild#n81 |
29 | [2] https://devmanual.gentoo.org/eclass-reference/multilib-build.eclass/#lbAE |
30 | [3] https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/tree/ls-kernel.c#n134 |
31 | [4] https://github.com/NixOS/nixpkgs/commit/286c836b3f1421553c103758537929e596256e65#diff-0a685886728285db8aa0594d87cb29b4 |
32 | |
33 | -- |
34 | |
35 | Ashley Dixon |
36 | suugaku.co.uk |
37 | |
38 | 2A9A 4117 |
39 | DA96 D18A |
40 | 8A7B B0D2 |
41 | A30E BF25 |
42 | F290 A8AA |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-user] preparing for make menuconfig | John Covici <covici@××××××××××.com> |