Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
repos.conf and Overlays?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
cctsurf
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2006
Posts: 123

PostPosted: Fri May 27, 2016 3:52 am    Post subject: repos.conf and Overlays? Reply with quote

I used to use layman for overlays and I still do on my 2 older gentoo installs, but I set up a new install on my "new" computer and I thought I would attempt to follow the new way of installing the one overlay I use for it...
I thought I followed the https://wiki.gentoo.org/wiki/Overlay and https://wiki.gentoo.org/wiki//etc/portage/repos.conf instructions, but I'm confused if I still need layman or if portage now integrates the sync for overlays...

Code:
cat /etc/portage/repos.conf/jorgicio-overlay.conf
[jorgicio-overlay]
location = /usr/local/overlay/jorgicio-overlay
sync-type = git
sync-url = git://github.com/jorgicio/jorgicio-gentoo.git
auto-sync = yes

This doesn't sync with the overlay... Do I still need layman to sync? Do I have a problem with my setup?
I find the wiki confusing and haven't been able to find a forum post on the problem either.
Thanks!
cctsurf
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Fri May 27, 2016 6:31 am    Post subject: Re: repos.conf and Overlays? Reply with quote

cctsurf wrote:
but I'm confused if I still need layman or if portage now integrates the sync for overlays...

You definitely do not need layman.

cctsurf wrote:

Code:
cat /etc/portage/repos.conf/jorgicio-overlay.conf
[jorgicio-overlay]
location = /usr/local/overlay/jorgicio-overlay
sync-type = git
sync-url = git://github.com/jorgicio/jorgicio-gentoo.git
auto-sync = yes

This doesn't sync with the overlay... Do I still need layman to sync? Do I have a problem with my setup?

Did you mean »sync-uri =« instead, or did you forget to run # emaint sync -A or eix-sync?

Please check your overlays:
Code:
portageq envvar PORTAGE_REPOSITORIES

For the "different from repository name" message see profiles/repo_name as explained in https://wiki.gentoo.org/wiki//etc/portage/repos.conf#Format.
Back to top
View user's profile Send private message
cctsurf
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2006
Posts: 123

PostPosted: Fri May 27, 2016 7:19 pm    Post subject: Solved: repos.conf and Overlays? Reply with quote

Thanks! :P That helped immensely. I also realized that I didn't have git installed. I'm still fairly confused on this new system, but at least it's syncing for me. I'd really appreciate a better "migration" wiki than is there.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun May 29, 2016 7:36 pm    Post subject: Reply with quote

You don't need the auto-sync line either, Yes is the default.
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Mon May 30, 2016 6:31 am    Post subject: Reply with quote

Ant P. wrote:
You don't need the auto-sync line either, Yes is the default.


Incorrect, it is only the default for the Gentoo repo. And that was so users didn't suddenly find they couldn't sync when they upgraded portage to a release with the new sync system and didn't update their config. And of course the resistance to change, since that was the historical behavior.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum