Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Cc: ulm@g.o
Subject: Re: [gentoo-dev] rfc: moving default location of portage tree (was: [gentoo-project] Call for agenda items - Council meeting 2018-07-29)
Date: Fri, 27 Jul 2018 14:06:23
Message-Id: 20180727140614.GA6908@linux1.home
In Reply to: Re: [gentoo-dev] rfc: moving default location of portage tree (was: [gentoo-project] Call for agenda items - Council meeting 2018-07-29) by Ulrich Mueller
1 On Fri, Jul 27, 2018 at 10:32:17AM +0200, Ulrich Mueller wrote:
2 > So, considering all the feedback from mailing list and IRC:
3 >
4 > /usr/portage -> /var/db/repos/gentoo
5 > /usr/portage/distfiles -> /var/cache{,/gentoo}/distfiles
6 > /usr/portage/packages -> /var/cache{,/gentoo}/binpkgs
7 >
8 > Open question: Should we have the additional "gentoo" path component
9 > for the ones in /var/cache? The tradeoff is between a path that is
10 > easier to type, or slightly easier usage if someone wants to NFS mount
11 > distfiles and binpkgs.
12
13 Section 5.5.2 describes the directory structure of /var/cache. These
14 paths are all optional [1].
15
16 /var/cache/fonts
17 /var/cache/man
18 /var/cache/www
19 /var/cache/<package>
20
21 Gentoo isn't a package, so I don't think /var/cache/gentoo/* is
22 appropriate. Here is my proposal:
23
24 /usr/portage -> /var/db/repos/gentoo
25 /usr/portage/distfiles -> /var/cache/portage/distfiles
26 /usr/portage/packages -> /var/cache/portage/binpkgs
27
28 I'm not 100% comfortable with /var/db, but I don't have any better
29 suggestion either.
30
31 William
32
33 [1] http://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#varcacheApplicationCacheData

Attachments

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

Replies