1 |
On Thu, Jul 12, 2018 at 10:13:57PM +0200, Michał Górny wrote: |
2 |
> W dniu czw, 12.07.2018 o godzinie 15∶51 -0400, użytkownik Rich Freeman |
3 |
> napisał: |
4 |
> > On Thu, Jul 12, 2018 at 3:47 PM Brian Dolbec <dolsen@g.o> wrote: |
5 |
> > > |
6 |
> > > So, "portage" should not be a directory name in the new default path. |
7 |
> > > |
8 |
> > |
9 |
> > Well, in my examples I proposed it as that is the software that |
10 |
> > created the path, but then again in the spirit of PMS portage isn't |
11 |
> > the only PM. |
12 |
> > |
13 |
> > So: |
14 |
> > /var/lib/repos/gentoo ? |
15 |
> > |
16 |
> |
17 |
> Subdirectories of /var/lib should be named after the tool/package name. |
18 |
> There's no tool or package called 'repos'. |
19 |
|
20 |
Technically mgorny is correct here. FHS requires that everything under |
21 |
/var/lib be under a directory for the package or for the distro [1]. |
22 |
Note the comment about packaging support in 5.8.1. |
23 |
|
24 |
Based on that this is my thought: |
25 |
|
26 |
* /var/lib/portage is for portage specific stuff -- maybe even /var/db/pkg |
27 |
in the future should go to /var/lib/portage/pkg. |
28 |
|
29 |
* /var/lib/gentoo, on the other hand, could be where repos, distfiles |
30 |
and binpkgs go. |
31 |
William |
32 |
|
33 |
[1] |
34 |
http://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#varlibVariableStateInformation |