On 01/10/2013 14:35, Tanstaafl wrote: > On 2013-09-30 3:14 PM, Alan McKinnon <[email protected]> wrote: >> On 30/09/2013 19:25, Volker Armin Hemmann wrote: >>> Alan wrote: >>>> Charles wrote: >>>>> But... is /usr/portage the default/recommended location? If so, then I >>>>> don't think I want to move it - I generally never change defaults >>>>> unless >>>>> there is a very good reason to do so. > >>>> It's /var/portage for new installs. If you want it to be somewhere >>>> else, >>>> just move it and adjust make.conf > >>> really? so when I moved PORTDIR to /var/portage I was ahead of the rest? >>> Wow... > >> You were ahead of me for sure :-) > > So... if the change from /usr/portage to /var/portage was official, is > there any (official) documentation on precisely how to move it? > > Hmmm.... more importantly, when did this change occur? Is it possibly > tied to portage 2.2? The reason I ask is, I'm still on 2.1, and man > portage still has references to: > > /usr/portage/sets > /usr/portage/metadata > /usr/portage/profiles > /usr/share/portage/config > > and man make.conf still says: > > PKGDIR = [path] <snip> > Defaults to /usr/portage/packages. > > and most importantly: > > PORTDIR = [path] <snip> > Defaults to /usr/portage. > > So... are you quite certain that this default has in fact changed?
Yes. The docs are out of date. > I know that it is probably trivial, but I like to read official docs for > things like this... It is trivial. All that it is, is a path to where some stuff is. That's all, nothing more. Change this in make.conf: PORTDIR="/var/portage" DISTDIR="/var/distfiles" PKGDIR="/var/packages" move the directories to the new location and run any old emerge command of your choice. If you left something out, you'll get a message on the screen. You can have these directories any place you want and nothing breaks by moving them around. The only change is the shipped default. So there are loads of this you could worry about in IT, this ain't one of 'em -- Alan McKinnon [email protected]

