Gentoo Archives: gentoo-catalyst

From: Brian Dolbec <dolsen@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] [PATCH 6/7] defaults.py: Update all repository, DISTDIR, PKGDIR settings to new /var paths
Date: Fri, 10 Mar 2017 20:36:13
Message-Id: 20170310123606.5692a8ab.dolsen@gentoo.org
In Reply to: Re: [gentoo-catalyst] [PATCH 6/7] defaults.py: Update all repository, DISTDIR, PKGDIR settings to new /var paths by Zac Medico
1 On Fri, 10 Mar 2017 11:51:07 -0800
2 Zac Medico <zmedico@g.o> wrote:
3
4 > On Fri, Mar 10, 2017 at 11:23 AM, Brian Dolbec <dolsen@g.o>
5 > wrote:
6 > > @@ -75,8 +75,8 @@ TARGET_MOUNT_DEFAULTS = {
7 > > "distdir": "/usr/portage/distfiles",
8 > > "icecream": "/usr/lib/icecc/bin",
9 > > "kerncache": "/tmp/kerncache",
10 > > - "packagedir": "/usr/portage/packages",
11 > > - "portdir": "/usr/portage",
12 > > + "packagedir": "/var/portage/packages",
13 > > + "portdir": "/var/portage/repos",
14 > > "port_tmpdir": "/var/tmp/portage",
15 > > "port_logdir": "/var/log/portage",
16 > > "proc": "/proc",
17 > > @@ -86,8 +86,8 @@ TARGET_MOUNT_DEFAULTS = {
18 > > SOURCE_MOUNT_DEFAULTS = {
19 > > "dev": "/dev",
20 > > "devpts": "/dev/pts",
21 > > - "distdir": "/usr/portage/distfiles",
22 > > - "portdir": "/usr/portage",
23 > > + "distdir": "/var/portage/distfiles",
24 > > + "portdir": "/var/portage/repos",
25 > > "port_tmpdir": "tmpfs",
26 > > "proc": "/proc",
27 > > "shm": "shmfs",
28 >
29 > Shouldn't those portdir settings be /var/portage/repos/gentoo or
30 > something like that?
31
32 No, that is the base directory for it to unpack or rsync the repo to.
33 It is a little confusing because of the way the code was written before.
34 I'll have to get in there and rename that to 'reposdir' to better
35 reflect the way it is used.
36
37 Note, those settings were only temporary for testing that the code was
38 ready for relocation. I think I'll change them to /var/gentoo as the
39 base for now. Then we can change them when the council has decreed the
40 final location.
41
42 --
43 Brian Dolbec <dolsen>

Replies