From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17471 invoked from network); 24 Jul 2004 00:43:03 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 24 Jul 2004 00:43:03 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1BoAcu-0002jx-NU for arch-gentoo-dev@lists.gentoo.org; Sat, 24 Jul 2004 00:43:00 +0000 Received: (qmail 12399 invoked by uid 89); 24 Jul 2004 00:43:00 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 14480 invoked from network); 24 Jul 2004 00:42:59 +0000 From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Date: Fri, 23 Jul 2004 20:42:54 -0400 User-Agent: KMail/1.6.2 References: <20040723232250.6a3dbe33@snowdrop.home> In-Reply-To: <20040723232250.6a3dbe33@snowdrop.home> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407232042.54805.vapier@gentoo.org> Subject: Re: [gentoo-dev] Ebuilds referencing /usr/src/linux makes baby Jesus kill kittens X-Archives-Salt: e9231f55-aad1-4ed6-bedf-d8a180eebf54 X-Archives-Hash: 1a9dde9fc0bb9815180c82d3c9b36f07 On Friday 23 July 2004 06:22 pm, Ciaran McCreesh wrote: > Just a friendly reminder that you should really avoid messing around > with /usr/src/linux inside ebuilds. In particular, code like the > following is utterly wrong: > > if [ ! -e "/usr/src/linux/include/linux/dm-ioctl.h" ] ; then the only packages that should poke around /usr/src/linux/ are kernel module packages ... and like donnie said, using ${ROOT}/usr/src/linux/ is ok > You shouldn't be using /usr/src/linux for headers either. I suggest > people give the following a good read before they commit even more > broken code to the tree: agreed, headers should be taken from the system -mike -- gentoo-dev@gentoo.org mailing list