1 |
you can copy portage and distro files from connected machine (i.e it |
2 |
will just serve as your local mirror), but you need to run emerge -Du |
3 |
world on the unconnected machine, since it has different CFLAGS |
4 |
|
5 |
On 04/29/10 11:42, Frank Peters wrote: |
6 |
> Hello, |
7 |
> |
8 |
> I have Gentoo installed on a machine that has no connection to |
9 |
> the Internet. The configuration of this machine is very similar |
10 |
> to another machine, which _has_ an Internet connection, also running |
11 |
> Gentoo. Only the CFLAGS variable differ. |
12 |
> |
13 |
> Would it be possible to keep this unconnected Gentoo machine updated |
14 |
> by simply copying the entire portage directory, including distribution |
15 |
> files, from the connected machine? |
16 |
> |
17 |
> I need to know what happens after doing "emerge --sync" followed |
18 |
> by "emerge -Du world". I assume that only the portage directory |
19 |
> is affected, that is, only those directories defined by the |
20 |
> PORTDIR, DISTDIR, PKGDIR, PORT_LOGDIR, PORTDIR_OVERLAY, and |
21 |
> PORTAGE_TMPDIR variables in the file make.conf. If this is |
22 |
> true, then copying those directories to the the unconnected |
23 |
> machine would allow me to update that machine, using emerge, |
24 |
> in parallel with the conected machine and without needing an |
25 |
> Internet connection. |
26 |
> |
27 |
> Would this method be feasible? Unless I am overlooking some details |
28 |
> of the emerge process, I don't see any problems with it. |
29 |
> |
30 |
> Frank Peters |
31 |
> |