View previous topic :: View next topic |
Author |
Message |
paradigm-X Apprentice

Joined: 19 Sep 2013 Posts: 168
|
Posted: Tue Feb 11, 2014 4:29 pm Post subject: webrsync and 'repos.conf' |
|
|
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 |
|
 |
ulenrich Veteran

Joined: 10 Oct 2010 Posts: 1483
|
Posted: Tue Feb 11, 2014 5:32 pm Post subject: |
|
|
Proper developed applications take
- defaults from /usr/lib /usr/share
- but everything under /etc takes precedence |
|
Back to top |
|
 |
paradigm-X Apprentice

Joined: 19 Sep 2013 Posts: 168
|
Posted: Tue Feb 11, 2014 10:27 pm Post subject: |
|
|
> "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 |
|
 |
ulenrich Veteran

Joined: 10 Oct 2010 Posts: 1483
|
Posted: Wed Feb 12, 2014 2:04 pm Post subject: |
|
|
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 .... |
|
Back to top |
|
 |
|