Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-kernel
Navigation:
Lists: gentoo-kernel: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-kernel@g.o
From: John Mylchreest <johnm@g.o>
Subject: Re: linux-mod / linux-info changes
Date: Sat, 04 Dec 2004 22:53:28 +0000
this is against kernel policy since we never should be building against
the current running kernel.
we should be building against what we dictate via KERNEL_DIR.
think critical modules which need to run at the next boot of a new
kernel.

On Sat, 2004-12-04 at 23:51 +0100, Sam Ravnborg wrote:
> On Sat, Dec 04, 2004 at 11:54:28PM +0000, Daniel Drake wrote:
> > +		einfo "This package requires Linux sources."
> > +		if [ "${KERNEL_DIR}" == "/usr/src/linux" ] ; then
> > +			einfo "Please make sure that ${KERNEL_DIR} points at your running kernel, "
> > +			einfo "(or the kernel you wish to build against)."
> > +			einfo "Alternatively, set the KERNEL_DIR environment variable to the kernel sources location"
> > +		else
> > +			einfo "Please ensure that the KERNEL_DIR environment variable points at full Linux sources of the kernel you wish to compile against."
> > +		fi
> > +		die "Cannot locate Linux sources at ${KERNEL_DIR}"
> 
> Why not use /lib/modules/`uname -r`/source - it works for 2.6 at least.
> It could be your first try - second /usr/src/linux/...
> 
> 	Sam
> 
> --
> gentoo-kernel@g.o mailing list
> 
-- 
John Mylchreest

Role:            Gentoo Linux Kernel Lead
Gentoo Linux:    http://www.gentoo.org
Public Key:      gpg --recv-keys 0xEAB9E721              
Key fingerprint: 0670 E5E4 F461 806B 860A  2245 A40E 72EB EAB9 E721
Web:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xEAB9E721


Attachment:
signature.asc (This is a digitally signed message part)
Replies:
Re: linux-mod / linux-info changes
-- Sam Ravnborg
References:
linux-mod / linux-info changes
-- Daniel Drake
Re: linux-mod / linux-info changes
-- Sam Ravnborg
Navigation:
Lists: gentoo-kernel: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: linux-mod / linux-info changes
Next by thread:
Re: linux-mod / linux-info changes
Previous by date:
Re: linux-mod / linux-info changes
Next by date:
Re: linux-mod / linux-info changes


Updated Jun 17, 2009

Summary: Archive of the gentoo-kernel mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.