From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B6AD01381F3 for ; Tue, 1 Oct 2013 12:50:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2CA0E0C06; Tue, 1 Oct 2013 12:50:48 +0000 (UTC) Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD5FFE09B0 for ; Tue, 1 Oct 2013 12:50:47 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id p61so1022095wes.16 for ; Tue, 01 Oct 2013 05:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=2b78wxsBqo4oY5fLCXNDcym6Z8GpiHF1IejPyzexZbk=; b=rUX0T1Bnf839sCaS+vBZUupWttnW6/rGDQhkQKoczAYHYG5/CrZ5Pu6gVoslOfvOHI zLHiyWcI78/gjzsKlqscYQCk0nJhnXgcQckEtsyy0hm5T9JU1a9jm4wP9Fcwaf9Dpre5 iQW/qw5U7mX7e2Pjbv/UrZvZE/oYy5PrQD78Of3Pjh5WnO6aDrx5NTXgxiktWwCgjgn4 Y1XHpEKdx/ubf/ZFIKsHjYOXtR/M06nS6Yw4+Kq/79+9QbwYdfcK9zn/opibshD9dRK5 xG0wQJQPFXk+AHwnCkRdqUkkf47Eh748qYaifE8JgtCiKN+BKJJXV7/VOp2LnL4xJ3vB RepQ== X-Received: by 10.180.206.42 with SMTP id ll10mr18485908wic.50.1380631846281; Tue, 01 Oct 2013 05:50:46 -0700 (PDT) Received: from [172.20.0.40] (196-210-102-121.dynamic.isadsl.co.za. [196.210.102.121]) by mx.google.com with ESMTPSA id l9sm5788614wif.10.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Oct 2013 05:50:45 -0700 (PDT) Message-ID: <524AC415.4080203@gmail.com> Date: Tue, 01 Oct 2013 14:46:13 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: PORTDIR default - changing PORTDIR variable - WAS Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01 References: <20130927222109.GD23408@server> <5246079E.7090406@gmail.com> <524759FB.2090304@gmail.com> <524869A5.4070306@libertytrek.org> <20130929185504.GA16543@linux1> <524892E3.5080402@libertytrek.org> <52489883.3090408@gmail.com> <5248AF6F.4040405@libertytrek.org> <52493D9F.3080504@gmail.com> <5249B421.8070909@googlemail.com> <5249CDA4.5090700@gmail.com> <524AC184.8000804@libertytrek.org> In-Reply-To: <524AC184.8000804@libertytrek.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: bf72cac9-df21-4d21-a950-771c375bad3d X-Archives-Hash: 380c9959471fe08b7fc67e2b4f431049 On 01/10/2013 14:35, Tanstaafl wrote: > On 2013-09-30 3:14 PM, Alan McKinnon 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] > Defaults to /usr/portage/packages. > > and most importantly: > > PORTDIR = [path] > 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 alan.mckinnon@gmail.com