Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I sync only local overlay?
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
jimmij
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2008
Posts: 139

PostPosted: Tue Sep 23, 2014 12:55 am    Post subject: How do I sync only local overlay? Reply with quote

In make.conf I have set PORTDIR_OVERLAY variable which is pointing to my local directory.
How can I sync only this local overlay? For standard overlays layman -s overlay works, but in this case local overlay is in fact not a fully defined overlay (not listed in /etc/layman/layman.cfg).
_________________
Vanitas vanitatum et omnia vanitas.
Libera temet ex inferis.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Tue Sep 23, 2014 3:53 am    Post subject: Reply with quote

If by "local overlay" you just mean an overlay in which you edit ebuilds in place, there is no need to sync it with anything; saved charges recognized and used the next time you attempt to use that overlay. You might have stale metadata for that overlay, if you generated it in the first place, but that would be easily rectified with egencache --repo=${reponame} --update where ${reponame} is replaced with whatever name appears in the profiles/repo_name file for that overlay.

If it is a locally managed overlay kept in some VCS, just manually check out the desired revision into the configured overlay directory. Afterwards, egencache could again be potentially beneficial.

If you mean something else, please describe it in some more detail.
Back to top
View user's profile Send private message
jimmij
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2008
Posts: 139

PostPosted: Tue Sep 23, 2014 7:19 pm    Post subject: Reply with quote

By local overlay I mean a local directory with the same structure as /usr/portage/ where I put my ebuilds.
The problem is that when I change the version of some ebuild (name of the file) then I have to somehow tell portage that it has changed, otherwise emerge -uDN world doesn't propose this package to update and 'eix package' still sees the old version. Of course I can do eix-sync, but it very inefficient to sync the whole gentoo-tree each time I want to sync only one single package from local repository.
'egencache --repo=jjoverlay --update' doesn't do the job.
_________________
Vanitas vanitatum et omnia vanitas.
Libera temet ex inferis.


Last edited by jimmij on Tue Sep 23, 2014 7:46 pm; edited 2 times in total
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Tue Sep 23, 2014 7:32 pm    Post subject: Reply with quote

maybe eix-update?
Back to top
View user's profile Send private message
jimmij
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2008
Posts: 139

PostPosted: Tue Sep 23, 2014 7:44 pm    Post subject: Reply with quote

Yes, thanks.
_________________
Vanitas vanitatum et omnia vanitas.
Libera temet ex inferis.
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