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

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
paradigm-X
Apprentice
Apprentice


Joined: 19 Sep 2013
Posts: 168

PostPosted: Tue Feb 11, 2014 4:29 pm    Post subject: webrsync and 'repos.conf' Reply with quote

The site here, http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=3 , shows this instruction:

Code Listing 6.3: Updating repos.conf

# Make sure sync-type and sync-uri are commented out
# sync-type = rsync
# sync-uri = ...


However, the lack of specificity makes that unclear to me because I can find two similarly named folders in my directory, both of which have the same lines mentioned above:

/etc/portage/repos.conf/gentoo.conf
/usr/share/portage/config/repos.conf

Although the first 'repos.conf' is actually a folder, not a file, it has the same name and contains a file with the same information referenced above. So, exactly which of these should be changed accordingly?
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1219

PostPosted: Tue Feb 11, 2014 5:32 pm    Post subject: Reply with quote

Proper developed applications take
- defaults from /usr/lib /usr/share
- but everything under /etc takes precedence
_________________
fun2gen2
Back to top
View user's profile Send private message
paradigm-X
Apprentice
Apprentice


Joined: 19 Sep 2013
Posts: 168

PostPosted: Tue Feb 11, 2014 10:27 pm    Post subject: Reply with quote

> "Proper developed applications take defaults from /usr/lib /usr/share."

Well, since I am talking about "emerge-webrsync", it would hardly do to think it is not a "properly developed" application, would it?

Even so, sounds like changing both would be a safe call, then. Thanks for the clarification on that issue.
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1219

PostPosted: Wed Feb 12, 2014 2:04 pm    Post subject: Reply with quote

Keep in mind the rules of overwriting defaults from /etc might be different with different applications. I made my
/etc/portage/repos.conf/gentoo.conf
Code:
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /common/portdir
sync-type = rsync
sync-uri = rsync://rsync1.de.gentoo.org/gentoo-portage
priority = 5
as above in hope the "[gentoo]" attribute will overwrite defaults regarding the "gentoo" repository ....
_________________
fun2gen2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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