Gentoo Archives: gentoo-catalyst

From: Brian Dolbec <dolsen@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] [PATCH 5/6] modules/generic_stage_target.py, modules/stage1_target.py: Add a target_mounts dictionary
Date: Sun, 29 Dec 2013 05:02:54
Message-Id: 1388293349.24088.29.camel@big_daddy.dol-sen.ca
In Reply to: Re: [gentoo-catalyst] [PATCH 5/6] modules/generic_stage_target.py, modules/stage1_target.py: Add a target_mounts dictionary by "W. Trevor King"
1 On Sat, 2013-12-28 at 18:49 -0800, W. Trevor King wrote:
2 > On Sat, Dec 28, 2013 at 05:57:09PM -0800, Brian Dolbec wrote:
3 > > +# temporary location. It will be moved to a
4 > > +# new defaults file in a later comit
5 >
6 > Hopefully those later commits will land, but maybe they won't. I'd
7 > rather comment on future goals in the Git commit instead of in the
8 > source code.
9
10 Fair enough...
11
12 >
13 > > + # initialize our target mounts.
14 > > + # later I plan to make these configurable so the
15 > > + # defaults can be easily overridden if desired.
16 > > + self.target_mounts = TARGET_MOUNTS_DEFAULTS.copy()
17 >
18 > See above about future goals in the Git commit.
19 >
20 > > - self.mounts.append("/var/log/portage")
21 > > - self.mountmap["/var/log/portage"]=self.settings["port_logdir"]
22 > > - self.env["PORT_LOGDIR"]="/var/log/portage"
23 > > + self.mounts.append("port_logdir")
24 > > + self.mountmap["port_logdir"]=self.settings["port_logdir"]
25 > > + self.env["PORT_LOGDIR"]=self.target_mounts["port_logdir"]
26 >
27 > Looks good. The mounts/mountmap changes are orthogonal to the
28 > target_mounts addition, but it's probably not worth splitting them out
29 > into a separate fixup.
30
31
32 Yeah, I missed separating some of that. Looks like I have to rebase the
33 hell out of these again anyway, so, maybe I will...
34
35
36 > Cheers,
37 > Trevor

Attachments

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