public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: "gentoo-portage-dev@lists.gentoo.org"
	<gentoo-portage-dev@lists.gentoo.org>
Subject: Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT
Date: Wed, 6 May 2015 19:13:50 +0000	[thread overview]
Message-ID: <1430939630.27859.113.camel@transmode.se> (raw)
In-Reply-To: <554A5F6D.5030807@gentoo.org>

On Wed, 2015-05-06 at 11:37 -0700, Zac Medico wrote:
> 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=0f191113cccd049e11fdbe73
> 493eb1efbf4bf89e#n971

I see, doesn't this prevent exactly what I want to do?

I can't see why this should be needed, it only creates a mess, another example:
I tried to specify exact version of my old binutils and while that worked, portage wanted
to pull in a newer binutils-config from the hosts master gentoo repo and
thus the build failed.

If a someone really wants this behaviour, he can just add the hosts master repo
in his PORTAGE_CONFIGROOT IMHO

 Jocke


  reply	other threads:[~2015-05-06 19:13 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-06 16:54 [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT Joakim Tjernlund
2015-05-06 18:37 ` Zac Medico
2015-05-06 19:13   ` Joakim Tjernlund [this message]
2015-05-06 19:41     ` Joakim Tjernlund
2015-05-06 19:54       ` Zac Medico
2015-05-06 20:22         ` Joakim Tjernlund
2015-05-06 20:30           ` Zac Medico
2015-05-06 21:30             ` Joakim Tjernlund
2015-05-06 21:36               ` Zac Medico
2015-05-06 21:57                 ` Joakim Tjernlund
2015-05-06 22:09                   ` Joakim Tjernlund
2015-05-06 22:19                     ` Zac Medico
2015-05-06 22:49                       ` Joakim Tjernlund
2015-05-06 22:16                   ` Zac Medico
2015-05-06 22:45                     ` Joakim Tjernlund
2015-05-07 10:51                       ` Joakim Tjernlund
2015-05-07 21:09                         ` Zac Medico
2015-05-08  6:43                           ` Joakim Tjernlund
2015-05-08 18:32                             ` Zac Medico
2015-05-09 13:47                               ` Joakim Tjernlund
2015-05-09 16:36                                 ` Zac Medico
2015-05-09 17:08                                   ` Joakim Tjernlund
2015-05-09 17:49                                     ` Zac Medico
2015-05-10 11:47                                       ` Joakim Tjernlund
2015-05-10 18:45                                         ` Zac Medico
2015-05-10 20:08                                           ` Joakim Tjernlund
2015-05-10 20:40                                             ` Zac Medico
2015-05-06 23:19                     ` Joakim Tjernlund

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=1430939630.27859.113.camel@transmode.se \
    --to=joakim.tjernlund@transmode.se \
    --cc=gentoo-portage-dev@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