On Sat, Apr 25, 2015 at 3:46 PM, Mick <[email protected]> wrote:

> On Saturday 25 Apr 2015 12:58:39 Alexander Kapshuk wrote:
> > On Sat, Apr 25, 2015 at 1:19 PM, Mick <[email protected]> wrote:
>
> > > I recall reading "New portage plug-in sync system" in eselect news, but
> > > it doesn't mention creating such files manually:
> > >
> > > "Migration:
> > >     Edit /etc/portage/repos.conf/*.conf files, add the auto-sync option
> > >     to each repository definition."
> > >
> > > --
> > > Regards,
> > > Mick
> >
> > The setting referred to in the message above is the SYNC variable defined
> > in /etc/portage/make.conf.
> >
> > With the sync url now defined in /etc/portage/repos.conf/gentoo.conf, you
> > either want to comment out the line in /etc/portage/make.conf where SYNC
> is
> > defined, or get rid of it all together. For the time being, I chose the
> > former.
> >
> > grep uri /etc/portage/repos.conf/gentoo.conf
> > sync-uri = rsync://rsync.uk.gentoo.org/gentoo-portage
> > % grep SYNC /etc/portage/make.conf
> > #SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
>
> Thanks Alexander, I will be adding the sync-uri line in
> /etc/portage/repos.conf/gentoo.conf once I know for sure if I should be
> creating this file myself, or if portage ought to have created and for some
> reason hasn't.
>
> On another box of mine the file exists, but I can't recall if I created it
> myself or portage did it for me.  :-/
>
> --
> Regards,
> Mick
>
The portage news item makes a reference to the wiki article on the subject
matter:
eselect news read 21 | grep wiki
        Please see the wiki page url [1] for detailed instructions.
examples see the wiki page listed below [1].
[1] https://wiki.gentoo.org/wiki/Project:Portage/Sync

The 'Migration' section states that:
If /etc/portage/repos.conf does not exist:
root # mkdir /etc/portage/repos.conf
root # cp /usr/share/portage/config/repos.conf
/etc/portage/repos.conf/gentoo.conf

Which is what I did on one of my systems, while on the other,
'/etc/portage/repos.conf/gentoo.conf' seems to have come into being without
any interference on my part, so to speak.

Reply via email to