Gentoo Archives: gentoo-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] BUILDROOT concept (was Re: [gentoo-dev] ROOT variable)
Date: Fri, 23 Apr 2004 15:32:43
Message-Id: 200404240031.07559.jstubbs@gentoo.org
In Reply to: [gentoo-dev] BUILDROOT concept (was Re: [gentoo-dev] ROOT variable) by Paul Smith
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Saturday 24 April 2004 00:04, Paul Smith wrote:
5 > I know this is long. Hopefully it's sufficiently interesting to justify
6 > the length :). Hopefully some of you can find the time to wade through
7 > it.
8 >
9 > %% Chris Gianelloni <wolf31o2@g.o> writes:
10 > >> Looking the code, it's looking for _BOTH_ /var/cache/edb _AND_
11 > >> $ROOT/var/cache/edb.
12 >
13 > cg> I would think that is correct, to test for both DEPEND _AND_
14 > cg> RDEPEND. The stuff in DEPEND would need to be in your REAL /,
15 > cg> whereas RDEPEND would need to be in $ROOT/.
16 <snip>
17 > However, the problem of the current handling of DEPEND vs. RDEPEND is
18 > not so simple to resolve. It looks like DEPEND and RDEPEND are targeted
19 > at a very different scenario than the one I outline above.
20
21 It's targeted at embedded systems and the like where you want to be very
22 specific about what you want to install.
23
24 > For my purposes I might need a different kind of depend, call it a
25 > "build DEPEND" or BDEPEND. This would be a set of packages that are
26 > needed in the BUILDROOT image in order to build the ROOT image. It would
27 > only contain host-based tools, I guess, that were needed for building:
28 > as above it would refer to compilers, cross-compilers,
29 > bison/yacc/lex-type tools, etc. This would be very cool, but maybe not
30 > critically important.
31
32 how about the following?
33
34 mkdir /my/very/own/root
35 ROOT="/my/very/own/root/" emerge system
36 chroot /my/very/own/root
37
38 I believe that next on the list for non-"/" installs will be installing into
39 one's home directory. "chroot" type installs may come after that.
40
41 Regards,
42 Jason Stubbs
43 -----BEGIN PGP SIGNATURE-----
44 Version: GnuPG v1.2.4 (GNU/Linux)
45
46 iQCVAwUBQIk2u1oikN4/5jfsAQK4KQP+Ie2XRgkXAhp0zhBx7vfppkv4mekqcqhb
47 pGkiIYhEf8ZLlA00W76srI2TVJLLMEaB2tvkQz6BgXJI02+jEY70difCWiBPmCuo
48 U7UkgGoi/pzWCoxe+obd27IADqm7urYSXK1da2DHGE3beZLO+e6IAlm2oZCYDTRx
49 2bdsMgtuC2w=
50 =Mnnl
51 -----END PGP SIGNATURE-----
52
53 --
54 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] BUILDROOT concept (was Re: [gentoo-dev] ROOT variable) Paul Smith <pausmith@××××××××××××××.com>