1 |
this is against kernel policy since we never should be building against |
2 |
the current running kernel. |
3 |
we should be building against what we dictate via KERNEL_DIR. |
4 |
think critical modules which need to run at the next boot of a new |
5 |
kernel. |
6 |
|
7 |
On Sat, 2004-12-04 at 23:51 +0100, Sam Ravnborg wrote: |
8 |
> On Sat, Dec 04, 2004 at 11:54:28PM +0000, Daniel Drake wrote: |
9 |
> > + einfo "This package requires Linux sources." |
10 |
> > + if [ "${KERNEL_DIR}" == "/usr/src/linux" ] ; then |
11 |
> > + einfo "Please make sure that ${KERNEL_DIR} points at your running kernel, " |
12 |
> > + einfo "(or the kernel you wish to build against)." |
13 |
> > + einfo "Alternatively, set the KERNEL_DIR environment variable to the kernel sources location" |
14 |
> > + else |
15 |
> > + einfo "Please ensure that the KERNEL_DIR environment variable points at full Linux sources of the kernel you wish to compile against." |
16 |
> > + fi |
17 |
> > + die "Cannot locate Linux sources at ${KERNEL_DIR}" |
18 |
> |
19 |
> Why not use /lib/modules/`uname -r`/source - it works for 2.6 at least. |
20 |
> It could be your first try - second /usr/src/linux/... |
21 |
> |
22 |
> Sam |
23 |
> |
24 |
> -- |
25 |
> gentoo-kernel@g.o mailing list |
26 |
> |
27 |
-- |
28 |
John Mylchreest |
29 |
|
30 |
Role: Gentoo Linux Kernel Lead |
31 |
Gentoo Linux: http://www.gentoo.org |
32 |
Public Key: gpg --recv-keys 0xEAB9E721 |
33 |
Key fingerprint: 0670 E5E4 F461 806B 860A 2245 A40E 72EB EAB9 E721 |
34 |
Web: |
35 |
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xEAB9E721 |