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