Gentoo Archives: gentoo-embedded

From: Joshua ChaitinPollak <jpollak@×××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] mount /usr/portage considered harmful?
Date: Thu, 13 Oct 2005 14:13:03
Message-Id: A1E8E6E4-8DF0-4397-A214-49332264F8EB@kivasystems.com
In Reply to: Re: [gentoo-embedded] mount /usr/portage considered harmful? by Natanael Copa
1 On Oct 13, 2005, at 3:22 AM, Natanael Copa wrote:
2 >
3 > This is how I deal with it:
4 >
5 > * I never keep distfiles and binary packages in the /usr/portage
6 > (PKGDIR
7 > and DISTFILES in/etc/make.conf) and use portage snapshots. Then its
8 > possible to remove /usr/portage anytime and recover with just
9 > untarring
10 > the snapshot. This is use ful if you have several people working on
11 > the
12 > same project and you might want to work on the same portage tree.
13
14 Thanks, those are good suggestions.
15
16 > * Always enter in my chroot environment from a script. The script
17 > mounts
18 > proc and /usr/portage, chroot and then umounts everything again.
19
20 Yeah, I'm starting to do that.
21
22 Maybe just a note in the Howto warning users of the risk would be a
23 good idea. Then again, if you're building an embedded Linux system,
24 maybe you should be smart enough to know the risks.
25
26 -Josh
27
28 --
29 Joshua ChaitinPollak
30 Software Engineer
31 Kiva Systems
32
33
34 --
35 gentoo-embedded@g.o mailing list