Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Ebuilds referencing /usr/src/linux makes baby Jesus kill kittens
Date: Sat, 24 Jul 2004 00:43:03
Message-Id: 200407232042.54805.vapier@gentoo.org
In Reply to: [gentoo-dev] Ebuilds referencing /usr/src/linux makes baby Jesus kill kittens by Ciaran McCreesh
1 On Friday 23 July 2004 06:22 pm, Ciaran McCreesh wrote:
2 > Just a friendly reminder that you should really avoid messing around
3 > with /usr/src/linux inside ebuilds. In particular, code like the
4 > following is utterly wrong:
5 >
6 > if [ ! -e "/usr/src/linux/include/linux/dm-ioctl.h" ] ; then
7
8 the only packages that should poke around /usr/src/linux/ are kernel module
9 packages ... and like donnie said, using ${ROOT}/usr/src/linux/ is ok
10
11 > You shouldn't be using /usr/src/linux for headers either. I suggest
12 > people give the following a good read before they commit even more
13 > broken code to the tree:
14
15 agreed, headers should be taken from the system
16 -mike
17
18 --
19 gentoo-dev@g.o mailing list