View previous topic :: View next topic |
Author |
Message |
jimmij Tux's lil' helper
Joined: 02 Dec 2008 Posts: 139
|
Posted: Tue Sep 23, 2014 12:55 am Post subject: How do I sync only local overlay? |
|
|
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 |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Tue Sep 23, 2014 3:53 am Post subject: |
|
|
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 |
|
|
jimmij Tux's lil' helper
Joined: 02 Dec 2008 Posts: 139
|
Posted: Tue Sep 23, 2014 7:19 pm Post subject: |
|
|
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 |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Tue Sep 23, 2014 7:32 pm Post subject: |
|
|
maybe eix-update? |
|
Back to top |
|
|
jimmij Tux's lil' helper
Joined: 02 Dec 2008 Posts: 139
|
Posted: Tue Sep 23, 2014 7:44 pm Post subject: |
|
|
Yes, thanks. _________________ Vanitas vanitatum et omnia vanitas.
Libera temet ex inferis. |
|
Back to top |
|
|
|