Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Documentation: how to use overlays
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 959
Location: we the north

PostPosted: Thu Feb 23, 2023 7:09 pm    Post subject: Documentation: how to use overlays Reply with quote

Hello all,

I was looking online for documentation on how to use an existing official overlay. While gentoo documentation is usually quite good, I find the documentation on this topic not great.

The first hit for googling is this site

https://wiki.gentoo.org/wiki/Project:Overlays/Overlays_guide

But this doesn't clearly explain how to add a respository so you can emerge software. If you go up the tree and back down you get to this page

https://wiki.gentoo.org/wiki/Project:Overlays/Old_User_Guide

which is clear but obviously totally out of date.

The following site also comes up in google searches

https://wiki.gentoo.org/wiki/User:Shunlir/An_Overlay_Tutorial#Using_eselect-repository

but again it's mainly a guide on setting up a respository.

EDIT: I found this in the gentoo handbook. The trouble is that it is buried deep and hard to find via google.

https://wiki.gentoo.org/wiki/Handbook:Parts/Portage/CustomTree#Working_with_several_overlays

There is a line that clearly explains how to add an official repo.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1951

PostPosted: Thu Feb 23, 2023 7:48 pm    Post subject: Reply with quote

On the wiki, a main source is https://wiki.gentoo.org/wiki/Ebuild_repository which explains both the Gentoo repository as well as alternative ones.
Back to top
View user's profile Send private message
wjb
l33t
l33t


Joined: 10 Jul 2005
Posts: 636
Location: Fife, Scotland

PostPosted: Fri Feb 24, 2023 11:11 am    Post subject: Reply with quote

These are the two pages of most use:


Eselect-repository is supposed to be the way forward, but the sync is a pain when you have a bunch of PCs sharing a gentoo repo, i.e. no equiv to "layman -S".
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1951

PostPosted: Fri Feb 24, 2023 1:48 pm    Post subject: Reply with quote

wjb wrote:
Eselect-repository is supposed to be the way forward, but the sync is a pain when you have a bunch of PCs sharing a gentoo repo, i.e. no equiv to "layman -S".


Just mark the gentoo repo locally as "auto-sync=no" in its repos.conf entry on the shared PCs and then "emerge --sync" or "emaint sync -a" will be the same as "layman -S"

For the one machine that does sync Gentoo, setting the auto-sync is also possible if you add in "emaint sync -r gentoo" or "emerge --sync gentoo" separately.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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