1 |
On Wednesday 07 December 2005 18:53, Arun Raghavan wrote: |
2 |
> > This make parallel compilation/download except first packet |
3 |
> > emerged in what_you_want. |
4 |
> > |
5 |
> > I think people already know this trick, but it is not show in FAQ |
6 |
> |
7 |
> This will not always work. It is possible (likely, in fact) that two |
8 |
> fetches for a given file begin simultaneously, leading to a corrupted |
9 |
> download. It would be better to just wait for parallel_fetch [1] |
10 |
|
11 |
With FEATURES="distlocks" (enabled by default) it shouldn't be a problem. |
12 |
|
13 |
> [1] |
14 |
http://www.mail-archive.com/gentoo-portage-dev@l.g.o/msg00669.html |
15 |
|
16 |
This patch just integrates the 'emerge -f ... & emerge ...' trick directly |
17 |
into emerge itself. There's essentially no difference between doing it |
18 |
manually or emerge doing it for you other than the patch providing a sanity |
19 |
check for FEATURES="distlocks" being enabled. |
20 |
|
21 |
-- |
22 |
Jason Stubbs |
23 |
|
24 |
-- |
25 |
gentoo-doc@g.o mailing list |