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 0EAE9138CCC for ; Wed, 6 May 2015 18:37:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 270A8E0809; Wed, 6 May 2015 18:37:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9CA5EE07DD for ; Wed, 6 May 2015 18:37:36 +0000 (UTC) Received: from [10.0.31.145] (unknown [100.42.98.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 86F4A340DDC for ; Wed, 6 May 2015 18:37:35 +0000 (UTC) Message-ID: <554A5F6D.5030807@gentoo.org> Date: Wed, 06 May 2015 11:37:33 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT References: <1430931268.27859.102.camel@transmode.se> In-Reply-To: <1430931268.27859.102.camel@transmode.se> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Archives-Salt: bd784e37-5baa-4528-971d-73ff37ba747a X-Archives-Hash: d722c4dcd672d9d04b7644cd517f4458 On 05/06/15 09:54, Joakim Tjernlund wrote: > I am trying to rebuild an old cross sysroot and I got problems. > I cannot make emerge to select my old ebuilds in an overlay over those > in /usr/portage. > > What new is since last time I did this is /etc/portage/repos.conf/ > I suspect emerge always reads /etc/portage/repos.conf/ no matter > what I set PORTAGE_CONFIGROOT / ROOT to ? > > Jocke > It instantiates 2 config instances, one using /etc/portage/repos.conf (for build time DEPEND) and another one using $PORTAGE_CONFIGROOT/etc/portage/repos.conf (for run time {P,R}DEPEND). You can see that it's joined with PORTAGE_CONFIGROOT in the load_repository_config function: https://gitweb.gentoo.org/proj/portage.git/tree/pym/portage/repository/config.py?id=0f191113cccd049e11fdbe73493eb1efbf4bf89e#n971 -- Thanks, Zac