From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8355A1387B1 for ; Wed, 18 Dec 2013 03:15:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 702DEE0AF3; Wed, 18 Dec 2013 03:15:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D1211E0AF3 for ; Wed, 18 Dec 2013 03:15:24 +0000 (UTC) Received: from [192.168.1.210] (S010600222de111ff.vc.shawcable.net [96.49.5.156]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 9139933EEB2 for ; Wed, 18 Dec 2013 03:15:23 +0000 (UTC) Message-ID: <1387336507.3897.180.camel@big_daddy.dol-sen.ca> Subject: Re: [gentoo-catalyst] [PATCH 1/2] modules/generic_stage_target.py: USE portdir, distdir,... instead of paths for keys From: Brian Dolbec To: gentoo-catalyst@lists.gentoo.org Date: Tue, 17 Dec 2013 19:15:07 -0800 In-Reply-To: <20131218031006.GC25409@odin.tremily.us> References: <1387328847-25840-1-git-send-email-dolsen@gentoo.org> <1387328847-25840-2-git-send-email-dolsen@gentoo.org> <20131218031006.GC25409@odin.tremily.us> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-XiokUd9EbXjhBfBYAhXG" X-Mailer: Evolution 3.6.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org Mime-Version: 1.0 X-Archives-Salt: ec074132-008f-49fc-ab1b-4d4eabc0047d X-Archives-Hash: 279f8d161dcae2be83ef367d8ee8cf06 --=-XiokUd9EbXjhBfBYAhXG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2013-12-17 at 19:10 -0800, W. Trevor King wrote: > On Tue, Dec 17, 2013 at 05:07:26PM -0800, Brian Dolbec wrote: > > if "SNAPCACHE" in self.settings: > > - self.mounts=3D["/proc","/dev","/usr/portage","/usr/portage/distfile= s","/var/tmp/portage"] > > - self.mountmap=3D{"/proc":"/proc","/dev":"/dev","devpts":"/dev/pts", > > - "/usr/portage":self.settings["snapshot_cache_path"]+"/portage",\ > > - "/usr/portage/distfiles":self.settings["distdir"],"/var/tmp/portag= e":"tmpfs"} > > + self.mounts=3D["proc", "dev", "portdir", "distdir", "port_tmpdir"] > > + self.mountmap=3D{"proc":"/proc", "dev":"/dev", "devpts":"/dev/pts", > > + "portdir":self.settings["snapshot_cache_path"]+"/portage",\ > > + "distdir":self.settings["distdir"],"port_tmpdir":"tmpfs"} > > else: > > self.mounts =3D ["proc", "dev", "distdir", "port_tmpdir"] > > self.mountmap =3D {"proc":"/proc", "dev":"/dev", "devpts":"/dev/pts= ", >=20 > Where does /usr/portage come from if SNAPCACHE is not enabled? Is it > just bind-mounted from the host's /usr/portage? >=20 > Cheers, > Trevor >=20 It comes from the snapshot tarball created during a snapshot run. SnapCache just keeps an unpacked copy ready to reuse. That way it can skip the unpack stage. --=-XiokUd9EbXjhBfBYAhXG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQF8BAABCgBmBQJSsRM8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4Njg4RkQxQ0M3MUMxQzA0RUFFQTQyMzcy MjE0RDkwQTAxNEYxN0NCAAoJECIU2QoBTxfLdYAIANRSGq4wYiF95qtDSXMNfCv+ k5Lm4B1yB51vb84jVyQc7m4tjRZwwWYdq+NybcRxiRWajrMahLoSwAXjPnr/nlpG 0eYKNKdnFJOzP5VtfuIQhWbZiOUBV6F7cM5ivF7wz8je+4ZM4bSv5PxhzqEsv5gx ut6ScKAyIHwjGq3SseO844c0nAAWwEArwVNf8WJ8Y0yCyCMKhTDM3r9mR0anHSbN nNGVAc42fFI904Sal23sQQ73/og6HTncLhF7OB5T2IWp8bqD7I/pH7o4VDTBvK/5 zaKGDMcce2Zr7u9sDVavM5GIIVoiCjjAq+sGPt3/ntGcQpQ99pQMWBNcCOu3LC0= =X8wr -----END PGP SIGNATURE----- --=-XiokUd9EbXjhBfBYAhXG--