1 |
On Fri, May 09, 2003 at 05:48:48PM +0800, Michael Boman wrote: |
2 |
> > 2) Make your own portage mirror (not official) and let the same cron job |
3 |
> > that does the rsync for portage also copy your overlay into the portage |
4 |
> > tree. Use this as the rsync mirror for your other machines. |
5 |
|
6 |
> Let say I have app-shells/bash in my PORTAGE_OVERLAY tree. How would I |
7 |
> go about and make sure that my version of bash is always used, even if a |
8 |
> newer version is distributed from gentoo? |
9 |
|
10 |
Urgh. I thought we were talking about edited/newer files, not about |
11 |
ignoring newer stuff... |
12 |
|
13 |
You could perhaps work around this with a little shell script that |
14 |
scans your overlay and deletes any directory of the original portage tree |
15 |
that is present in the overlay before copying the overlay over the |
16 |
original. |
17 |
|
18 |
Something like: |
19 |
|
20 |
Overlay: |
21 |
foo/bar/bar-1.1.ebuild |
22 |
|
23 |
Original: foo/bar/bar-1.2.ebuild |
24 |
|
25 |
Check: overlay/foo/bar exists. delete original/foo/bar. copy overlay |
26 |
foo/bar original/foo/bar. |
27 |
|
28 |
The more special your wishes become, the more I have the impression that |
29 |
you are asking for trouble and hard to locate bugs :-) |
30 |
|
31 |
Bye, Patrick |