Gentoo Archives: gentoo-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Dynamic SLOTs
Date: Thu, 05 Aug 2004 13:47:09
Message-Id: 200408052250.11781.jstubbs@gentoo.org
In Reply to: Re: [gentoo-dev] Dynamic SLOTs by Aron Griffis
1 On Thursday 05 August 2004 12:00, Aron Griffis wrote:
2 > Jason Stubbs wrote: [Wed Aug 04 2004, 07:47:41PM EDT]
3 >
4 > > On Thursday 05 August 2004 05:11, Aron Griffis wrote:
5 > > > Jason Stubbs wrote: [Wed Aug 04 2004, 10:28:04AM EDT]
6 > > >
7 > > > > 4. Fix ebuilds so that they link against ${ROOT} rather than assuming
8 > > > > "/".
9 > > >
10 > > > This sounds Really Hard.
11 > > >
12 > > > How about devising a method to chroot to ${ROOT} for src_compile when
13 > > > [[ ${ROOT} != / ]]. I know this would require some work, but it just
14 > > > might be less work than fixing the ebuilds to link against ${ROOT},
15 > > > which sounds extremely tedious and error-prone.
16 > >
17 > > That would require getting the immediate build deps and the deep
18 > > runtime build deps copied into a temporary directory within $ROOT at
19 > > the start of every emerge. It would also require every ebuild to be
20 > > updated so that all deps, including those in system, are listed.
21 >
22 > I must really be missing something. I thought that if you're "fixing
23 > ebuilds so they link against ${ROOT}" then you must already have what
24 > you need in ${ROOT}, right?
25 >
26 > It seems like either method depends on that. I'm sure I'm missing
27 > something...
28
29 Only the runtime dependencies need to go into $ROOT. Build time dependencies
30 don't need to be, which is especially important for embedded systems.
31
32 Regards,
33 Jason Stubbs
34
35 --
36 gentoo-dev@g.o mailing list