Gentoo Archives: gentoo-catalyst

From: "W. Trevor King" <wking@×××××××.us>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] [PATCH 1/2] modules/generic_stage_target.py: USE portdir, distdir,... instead of paths for keys
Date: Wed, 18 Dec 2013 03:10:10
Message-Id: 20131218031006.GC25409@odin.tremily.us
In Reply to: [gentoo-catalyst] [PATCH 1/2] modules/generic_stage_target.py: USE portdir, distdir,... instead of paths for keys by Brian Dolbec
1 On Tue, Dec 17, 2013 at 05:07:26PM -0800, Brian Dolbec wrote:
2 > if "SNAPCACHE" in self.settings:
3 > - self.mounts=["/proc","/dev","/usr/portage","/usr/portage/distfiles","/var/tmp/portage"]
4 > - self.mountmap={"/proc":"/proc","/dev":"/dev","devpts":"/dev/pts",
5 > - "/usr/portage":self.settings["snapshot_cache_path"]+"/portage",\
6 > - "/usr/portage/distfiles":self.settings["distdir"],"/var/tmp/portage":"tmpfs"}
7 > + self.mounts=["proc", "dev", "portdir", "distdir", "port_tmpdir"]
8 > + self.mountmap={"proc":"/proc", "dev":"/dev", "devpts":"/dev/pts",
9 > + "portdir":self.settings["snapshot_cache_path"]+"/portage",\
10 > + "distdir":self.settings["distdir"],"port_tmpdir":"tmpfs"}
11 > else:
12 > self.mounts = ["proc", "dev", "distdir", "port_tmpdir"]
13 > self.mountmap = {"proc":"/proc", "dev":"/dev", "devpts":"/dev/pts",
14
15 Where does /usr/portage come from if SNAPCACHE is not enabled? Is it
16 just bind-mounted from the host's /usr/portage?
17
18 Cheers,
19 Trevor
20
21 --
22 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
23 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies