public inbox for gentoo-kernel@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: gentoo-kernel@lists.gentoo.org
Subject: Re: [gentoo-kernel] linux-mod / linux-info changes
Date: Sat, 4 Dec 2004 23:51:28 +0100	[thread overview]
Message-ID: <20041204225128.GA23171@mars.ravnborg.org> (raw)
In-Reply-To: <41B24E34.6030208@gentoo.org>

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@gentoo.org mailing list


  reply	other threads:[~2004-12-04 22:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-04 23:54 [gentoo-kernel] linux-mod / linux-info changes Daniel Drake
2004-12-04 22:51 ` Sam Ravnborg [this message]
2004-12-04 22:53   ` John Mylchreest
2004-12-04 22:56     ` Sam Ravnborg
2004-12-05  0:05 ` Daniel Drake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041204225128.GA23171@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=gentoo-kernel@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox