public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] Ebuilds referencing /usr/src/linux makes baby Jesus kill kittens
  @ 2004-07-24  0:42 99% ` Mike Frysinger
  0 siblings, 0 replies; 1+ results
From: Mike Frysinger @ 2004-07-24  0:42 UTC (permalink / raw
  To: gentoo-dev

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


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2004-07-23 22:22     [gentoo-dev] Ebuilds referencing /usr/src/linux makes baby Jesus kill kittens Ciaran McCreesh
2004-07-24  0:42 99% ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox