Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple REPOS_BASE for eselect-repository
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
Plus!
n00b
n00b


Joined: 04 Mar 2008
Posts: 15

PostPosted: Sat Apr 06, 2024 3:08 pm    Post subject: Multiple REPOS_BASE for eselect-repository Reply with quote

I have a centralized storage of overlays located on the NFS share.
It consists of multiple overlay sets, and the directory structure looks like:

Code:

overlays-store/overlay-set1/overlay1-timestamp1
overlays-store/overlay-set1/overlay2-timestamp2
overlays-store/overlay-set2/overlay3-timestamp3
overlays-store/overlay-set2/overlay4-timestamp4
overlays-store/overlay-set2/overlay1-timestamp5


I have a separate layman.cfg file inside each overlays-store/overlay-set# directory with at least a "storage" variable override.
Also, the "overlays-store/overlay-set#" directory contains a "make.conf" file that appends overlay paths to $PORTAGE_OVERLAY.

On the client machine, I mount the NFS share from the central server and source the above-mentioned "make.conf" file in the /etc/portage/make.conf.
All management (add/remove/sync) of the overlays is performed on the central server with the layman tool.

Now I am trying to migrate to "eselect-repository" (since the app-portage/layman was masked).
I see that "eselect-repository" uses the /etc/eselect/repository.conf file.
How can I override it with a command line similar to the layman -c option?

The next question is how I can specify REPOS_BASE during an overlay sync.
Basically I can go without sync, since typically I create new "overlay-set" instead of synchronizing existing one to preserve history and to not break things.
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