1 |
2015-06-23 21:12 GMT-06:00 James <wireless@×××××××××××.com>: |
2 |
> Take java: |
3 |
> |
4 |
> * Warnings: |
5 |
> * ------ |
6 |
> * The source of the overlay "java" seems to have changed. |
7 |
> * You currently sync from |
8 |
> * |
9 |
> * git://git.overlays.gentoo.org/proj/java.git |
10 |
> * |
11 |
> * while the remote lists report |
12 |
> * |
13 |
> * 1. git://anongit.gentoo.org/proj/java.git |
14 |
> * 2. git+ssh://git@××××××××××.org/proj/java.git |
15 |
> * 3. https://anongit.gentoo.org/git/proj/java.git |
16 |
> * |
17 |
> * as correct locations. |
18 |
> * Please consider removing and re-adding the overlay. |
19 |
> |
20 |
This is because recent changes of the infrastructure providing |
21 |
overlays, explanation it's on the frontpage(gentoo.org) |
22 |
|
23 |
> |
24 |
> Maybe a few examples of /etc/portage/repos.conf to look at? |
25 |
> |
26 |
Maybe this is useful, what I have been doing, is use layman as always |
27 |
for external repos from gentoo overlays( layman -a ...), As far as I |
28 |
know the repos.conf still doesn't handle svn, so I think devs are |
29 |
keeping layman the way it is to not break this, but if I want to |
30 |
change something in a particular external overlay say java, what i do |
31 |
is this |
32 |
|
33 |
A new conf /etc/repos.conf/java.conf |
34 |
[java] |
35 |
priority = 100 |
36 |
location = /home/$MY_USER/$MY_OVERLAYS_DIR/java |
37 |
layman-type = git |
38 |
auto-sync = no |
39 |
|
40 |
And of course clone the repo to that dir and make my changes. |
41 |
|
42 |
|
43 |
> Note the gentoo and local is fine. I keep /usr/local/portage |
44 |
> for my stuff alone, so I guess I can just use the old layman |
45 |
> dir stucture (/var/lib/layman) for my collection of exteranal |
46 |
> repos? |
47 |
> |
48 |
I find the use of /usr/local/portage less useful than making your own |
49 |
overlay, I have my own overlay in repos.conf pretty much the same as |
50 |
the example before |
51 |
/etc/repos.conf/j-overlay.conf:(This is my box used for development) |
52 |
[j-overlay] |
53 |
priority = 100 |
54 |
location = /home/$MY_USER/$MY_OVERLAYS_DIR/j-overlay |
55 |
layman-type = git |
56 |
auto-sync = no |
57 |
|
58 |
But I distribute it to some containers and some other gentoo |
59 |
installations by a little different config file: |
60 |
|
61 |
[j-overlay] |
62 |
location = /var/lib/portage/repos/j-overlay |
63 |
sync-type = git |
64 |
priority = 100 |
65 |
sync-uri = https://github.com/j-g-/j-overlay.git |
66 |
auto-sync = true |
67 |
|
68 |
And as expected, emerge --sync syncs the portage three(also via git) |
69 |
and changes I commit to my own overlay. |
70 |
|
71 |
I hope you find this useful. |