1 |
Mickaël Bucas wrote: |
2 |
> Le lun. 11 nov. 2019 à 09:35, Mick <michaelkintzios@×××××.com> a écrit : |
3 |
>> On Monday, 11 November 2019 08:25:06 GMT n952162 wrote: |
4 |
>>> I re-installed gentoo from the minimal boot cd (amd64), re-emerged |
5 |
>>> everything from my old, saved world file, overnight, and its up and |
6 |
>>> running, more or less. Then, I wanted to see what was available and |
7 |
>>> discovered, there's no /usr/portage directory! What did I do wrong? |
8 |
>> Nothing. |
9 |
>> |
10 |
>> /usr/portage has now moved to /var/db/repos/gentoo/. |
11 |
>> |
12 |
>> /usr/portage/distfiles has moved to /var/cache/distfiles/ |
13 |
>> |
14 |
>> Portage will work fine with both legacy and new fs locations. |
15 |
>> -- |
16 |
>> Regards, |
17 |
>> |
18 |
>> Mick |
19 |
> My two systems are currently using the old locations. |
20 |
> Is there a documentation about the way to migrate to the new locations |
21 |
> without breaking things ? |
22 |
> The profile links comes to mind but other things are probably necessary ! |
23 |
> |
24 |
> Has anyone already done the migration ? |
25 |
> In this case do you have advices or warnings about it ? |
26 |
> |
27 |
> Thanks |
28 |
> |
29 |
> Best regards |
30 |
> Mickaël Bucas |
31 |
> |
32 |
> |
33 |
|
34 |
|
35 |
Others have posted some good info but sometimes a example that is in use |
36 |
can help a lot. Here's what is in my make.conf: |
37 |
|
38 |
|
39 |
root@fireball / # cat /etc/make.conf | grep var |
40 |
PORT_LOGDIR=/var/log/portage/ |
41 |
source /var/lib/layman/make.conf |
42 |
DISTDIR="/var/cache/portage/distfiles/" |
43 |
PKGDIR="/var/cache/portage/packages" |
44 |
PORTDIR="/var/cache/portage/tree" |
45 |
root@fireball / # |
46 |
|
47 |
|
48 |
The last three are what you need to look at. I moved mine years ago, |
49 |
long before the defaults were changed and maybe even on my last rig. At |
50 |
the time, there was good logic for it being where I put it but I'm sure |
51 |
others have their own ideas and you may place yours somewhere else for |
52 |
yet another good reason. |
53 |
|
54 |
In all honesty, you can put them practically anywhere as long as portage |
55 |
knows where they are and the permissions can be set correctly. By the |
56 |
way, those are portage:portage for them all as far as I know. This is mine: |
57 |
|
58 |
|
59 |
root@fireball / # ls -al /var/cache/portage/ |
60 |
total 160 |
61 |
drwxr-xr-x 5 root root 4096 Dec 20 2012 . |
62 |
drwxr-xr-x 13 root root 4096 Nov 11 03:39 .. |
63 |
drwxrwxr-x 3 portage portage 143360 Nov 11 00:07 distfiles |
64 |
drwxr-xr-x 109 portage portage 4096 Nov 11 01:22 packages |
65 |
drwxr-xr-x 175 portage portage 4096 Nov 10 20:09 tree |
66 |
root@fireball / # |
67 |
|
68 |
|
69 |
|
70 |
|
71 |
For those who question where make.conf is, it's a link to the real one. |
72 |
Saves me some typing and I don't have to remember where the thing went |
73 |
too. ;-) Y'all know how I am. lol |
74 |
|
75 |
Hope that helps, a tiny bit more anyway. You got some good info to |
76 |
start with. |
77 |
|
78 |
Dale |
79 |
|
80 |
:-) :-) |