Gentoo Archives: gentoo-embedded

From: Heath Holcomb <liquidcable@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] mount /usr/portage considered harmful?
Date: Thu, 13 Oct 2005 14:20:35
Message-Id: 200510130917.39223.liquidcable@bulah.com
In Reply to: [gentoo-embedded] mount /usr/portage considered harmful? by Joshua ChaitinPollak
1 On Wednesday 12 October 2005 05:14 pm, Joshua ChaitinPollak wrote:
2 > The Embedded Howto suggests mounting /proc and /usr/portage into the
3 > development root filesystem. Is mounting portage such a wise idea?
4 >
5 > Today, after having had a shell chrooted into the development
6 > environment for over a week, I decided to exit the shell, move the
7 > development environment out of the way, and create a new one. in the
8 > same location. I did:
9 >
10 > exit
11 > mv /opt/i586... /opt/i586....bak
12 > tar zxvf stage1-embedded -C /opt/i586....
13 >
14 > And then for whatever reason:
15 >
16 > rm -rf /opt/i586....
17 >
18 > Now, the problem is, I still had /usr/portage mounted on /opt/
19 > i586..../usr/portage, and I guess mount points don't move when you
20 > move directories that contain them.
21 >
22 > The bottom line is, I blew away my host computer's /usr/portage, and
23 > now have to recover it.
24 >
25 > Since the development root filesystem is stored on a desktop machines
26 > harddrive, why not just have it get its own, separate portage tree?
27 >
28 > -Josh
29 >
30 > --
31 > Joshua ChaitinPollak
32 > Software Engineer
33 > Kiva Systems
34
35 I'll add a section to the how-to that umounts everything and safely allows you
36 to delete your development_rootfs.
37
38
39 --
40 heath holcomb
41 liquidcable at bulah.com
42 www.bulah.com
43 --
44 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] mount /usr/portage considered harmful? "René Rhéaume" <rene.rheaume@×××××.com>