public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Recommended location of the Gentoo ebuild repository
Date: Wed, 16 Dec 2020 09:41:11 -0600	[thread overview]
Message-ID: <4e648441-7375-b4b1-94c9-0ea077c76ddb@gmail.com> (raw)
In-Reply-To: <rrd89d$a7i$1@ciao.gmane.io>

Nikos Chantziaras wrote:
> On 16/12/2020 13:51, gevisz wrote:
>> How would you comment the following quote from Gentoo Handbook
>> "In most situations, /usr/ is to be kept big: not only will it contain
>>    the majority of applications, it typically also hosts the Gentoo
>> ebuild
>>    repository (by default located at /var/db/repos/gentoo) which already
>>    takes around 650 MiB."
>> that can be found here:
>> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks ?
>>
>> Have I correctly understood that the Gentoo ebuild repository default
>> location
>> is /var/db/repos/gentoo but virtually everybody relocate it to /usr/
>> during
>> the installation process?
>>
>> Why not change its default location to /usr/ in this case?
>>
>> Where the Gentoo ebuild repository should be allocated? Why?
>
> Wherever you want. I have on /mnt/Data/gentoo/portage, so... meh :P
>
>
>


This is true.  Where can be set in make.conf and
/etc/portage/repos.conf/gentoo.conf.  I have mine in /var/cache here. 
At one point, that seemed to be the place it was going to end up.  Then
it changed after I moved mine.  :/  Examples for OP.

/etc/portage/make.conf:DISTDIR="/var/cache/portage/distfiles/"
/etc/portage/make.conf:PKGDIR="/var/cache/portage/packages"
/etc/portage/repos.conf/gentoo.conf:location = /var/cache/portage/tree

root@fireball / # ls -l /var/cache/portage/
total 152
drwxrwxr-x   3 portage portage 143360 Dec 13 22:42 distfiles
drwxrwxr-x 108 portage portage   4096 Dec 13 22:40 packages
drwxr-xr-x 174 portage portage   4096 Dec 12 18:25 tree
root@fireball / #


OP, with that info, it should help you put it wherever you want.  Don't
forget to check the permissions, owners and group settings too. 

Hope that helps.

Dale

:-)  :-) 




  reply	other threads:[~2020-12-16 15:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16 11:51 [gentoo-user] Recommended location of the Gentoo ebuild repository gevisz
2020-12-16 11:54 ` Miles Malone
2020-12-16 14:45   ` gevisz
2020-12-16 14:55     ` Rich Freeman
2020-12-16 15:30       ` Victor Ivanov
2020-12-16 15:44       ` gevisz
2020-12-16 14:58     ` Mark Knecht
2020-12-16 15:25       ` antlists
2020-12-16 15:34         ` Rich Freeman
2020-12-16 15:52         ` Mark Knecht
2020-12-16 15:14 ` [gentoo-user] " Nikos Chantziaras
2020-12-16 15:41   ` Dale [this message]
2020-12-20 17:08     ` Peter Humphrey
2020-12-20 17:16       ` Dale
2020-12-21  9:11         ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4e648441-7375-b4b1-94c9-0ea077c76ddb@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox