1 |
Nikos Chantziaras wrote: |
2 |
> On 16/12/2020 13:51, gevisz wrote: |
3 |
>> How would you comment the following quote from Gentoo Handbook |
4 |
>> "In most situations, /usr/ is to be kept big: not only will it contain |
5 |
>> the majority of applications, it typically also hosts the Gentoo |
6 |
>> ebuild |
7 |
>> repository (by default located at /var/db/repos/gentoo) which already |
8 |
>> takes around 650 MiB." |
9 |
>> that can be found here: |
10 |
>> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks ? |
11 |
>> |
12 |
>> Have I correctly understood that the Gentoo ebuild repository default |
13 |
>> location |
14 |
>> is /var/db/repos/gentoo but virtually everybody relocate it to /usr/ |
15 |
>> during |
16 |
>> the installation process? |
17 |
>> |
18 |
>> Why not change its default location to /usr/ in this case? |
19 |
>> |
20 |
>> Where the Gentoo ebuild repository should be allocated? Why? |
21 |
> |
22 |
> Wherever you want. I have on /mnt/Data/gentoo/portage, so... meh :P |
23 |
> |
24 |
> |
25 |
> |
26 |
|
27 |
|
28 |
This is true. Where can be set in make.conf and |
29 |
/etc/portage/repos.conf/gentoo.conf. I have mine in /var/cache here. |
30 |
At one point, that seemed to be the place it was going to end up. Then |
31 |
it changed after I moved mine. :/ Examples for OP. |
32 |
|
33 |
/etc/portage/make.conf:DISTDIR="/var/cache/portage/distfiles/" |
34 |
/etc/portage/make.conf:PKGDIR="/var/cache/portage/packages" |
35 |
/etc/portage/repos.conf/gentoo.conf:location = /var/cache/portage/tree |
36 |
|
37 |
root@fireball / # ls -l /var/cache/portage/ |
38 |
total 152 |
39 |
drwxrwxr-x 3 portage portage 143360 Dec 13 22:42 distfiles |
40 |
drwxrwxr-x 108 portage portage 4096 Dec 13 22:40 packages |
41 |
drwxr-xr-x 174 portage portage 4096 Dec 12 18:25 tree |
42 |
root@fireball / # |
43 |
|
44 |
|
45 |
OP, with that info, it should help you put it wherever you want. Don't |
46 |
forget to check the permissions, owners and group settings too. |
47 |
|
48 |
Hope that helps. |
49 |
|
50 |
Dale |
51 |
|
52 |
:-) :-) |