1 |
Mick wrote: |
2 |
> On Monday, 11 November 2019 13:00:20 GMT Dale wrote: |
3 |
>> Mickaël Bucas wrote: |
4 |
>>> Le lun. 11 nov. 2019 à 09:35, Mick <michaelkintzios@×××××.com> a écrit : |
5 |
>>>> On Monday, 11 November 2019 08:25:06 GMT n952162 wrote: |
6 |
>>>>> I re-installed gentoo from the minimal boot cd (amd64), re-emerged |
7 |
>>>>> everything from my old, saved world file, overnight, and its up and |
8 |
>>>>> running, more or less. Then, I wanted to see what was available and |
9 |
>>>>> discovered, there's no /usr/portage directory! What did I do wrong? |
10 |
>>>> Nothing. |
11 |
>>>> |
12 |
>>>> /usr/portage has now moved to /var/db/repos/gentoo/. |
13 |
>>>> |
14 |
>>>> /usr/portage/distfiles has moved to /var/cache/distfiles/ |
15 |
>>>> |
16 |
>>>> Portage will work fine with both legacy and new fs locations. |
17 |
>>>> -- |
18 |
>>>> Regards, |
19 |
>>>> |
20 |
>>>> Mick |
21 |
>>> My two systems are currently using the old locations. |
22 |
>>> Is there a documentation about the way to migrate to the new locations |
23 |
>>> without breaking things ? |
24 |
>>> The profile links comes to mind but other things are probably necessary ! |
25 |
>>> |
26 |
>>> Has anyone already done the migration ? |
27 |
>>> In this case do you have advices or warnings about it ? |
28 |
>>> |
29 |
>>> Thanks |
30 |
>>> |
31 |
>>> Best regards |
32 |
>>> Mickaël Bucas |
33 |
>> Others have posted some good info but sometimes a example that is in use |
34 |
>> can help a lot. Here's what is in my make.conf: |
35 |
>> |
36 |
>> |
37 |
>> root@fireball / # cat /etc/make.conf | grep var |
38 |
>> PORT_LOGDIR=/var/log/portage/ |
39 |
>> source /var/lib/layman/make.conf |
40 |
>> DISTDIR="/var/cache/portage/distfiles/" |
41 |
>> PKGDIR="/var/cache/portage/packages" |
42 |
>> PORTDIR="/var/cache/portage/tree" |
43 |
>> root@fireball / # |
44 |
>> |
45 |
>> |
46 |
>> The last three are what you need to look at. |
47 |
> ... AND ... |
48 |
> |
49 |
> the last thing (PORTDIR) is what you should no longer have specified in /etc/ |
50 |
> portage/make.conf, but in /etc/portage/repos.conf/gentoo.conf: |
51 |
> |
52 |
> $ grep location /etc/portage/repos.conf/gentoo.conf |
53 |
> #location = /usr/portage <==legacy portage fs location |
54 |
> location = /var/db/repos/gentoo |
55 |
> |
56 |
> HTH. |
57 |
|
58 |
|
59 |
Ahhhh, that one line is in there so I guess it got moved at some point, |
60 |
likely the devs had some magic going on and did it for me. ;-) I'll |
61 |
comment that out in make.conf, so I don't confuse myself later on. :/ |
62 |
Come to think of it, I'll add a comment as to where it moved to as well |
63 |
so I don't have to go dig for it some day. |
64 |
|
65 |
Thanks. This will help the OP as well. |
66 |
|
67 |
Dale |
68 |
|
69 |
:-) :-) |