Gentoo Archives: gentoo-dev

From: Jon Griffin <jong@×××.org>
To: "gentoo-dev@g.o" <gentoo-dev@g.o>
Subject: Re[2]: [gentoo-dev] Directory create in ebuilds
Date: Wed, 07 Aug 2002 15:46:09
Message-Id: 200208072046.AIE98413@100m.mpr200-2.esr.lvcm.net
In Reply to: Re: [gentoo-dev] Directory create in ebuilds by George Shapovalov
1 Thanks,
2 Now I know where to look.
3
4 On Wed, 7 Aug 2002 13:41:08 -0700 George Shapovalov <georges@×××××××××××.edu> wrote:
5
6 > dodir /etc/logcheck
7 > also please check the contents of /usr/lib/portage/bin/ for what's
8 > available
9 > (such as dobin, dodoc ...).
10 > You should be using these instead of direct mkdir, cp, mv...
11 >
12 > Sometimes you may want to do something nonstandsrd or may be some
13 > recursive
14 > task and it may be desireble to do cp -r someplace omeother_place. In
15 > any
16 > case, *do not* perform any such operation on a "live sustem", that is
17 > right
18 > under /usr or whereever. Use ${D}/usr/what/ever instead. ${D} will point
19 > to
20 > the right place, where package gets installed before merging in.
21 > Also, it would be usefull to read some doc on sandbox'ing. This is
22 > mentioned
23 > in developer docs on gentoo.org, "man emerge" and "man ebuild" should
24 > also
25 > help.
26 >
27 > George
28 >