On Thursday 26 July 2012 17:36:37 Michael Mol wrote:
> On Thu, Jul 26, 2012 at 12:25 PM, Silvio Siefke <[email protected]> 
wrote:
> > On Thu, 26 Jul 2012 14:04:37 +0100
> > 
> > Neil Bothwick <[email protected]> wrote:
> >> You could build packages in a chroot on a faster machine, that's
> >> what I do to run Gentoo on lower-popwered devices.
> > 
> > Really that goes? With diffrent CPUs, Graphics and so? Because in
> > Desktop is Core 2 Duo with ATI Graphic and the network cards
> > others. On Netbook run Atom, Intel Graphic and Atheros Network.
> 
> Sure. Just keep your USE flags straight. Graphics boards shouldn't
> make any difference at all in a cross-compiling scenario. As for
> CPU...programs compiled to run on an Atom proc should have no problem
> running on a Core 2 Duo.

Just to expand that, I followed Neil's advice when setting my boxes up. 
I have an atom box as LAN server and an i5 workstation. I have a script 
which I run on the workstation to mount all the necessary directories on 
the chroot, including nfs-mounting the atom's /usr/portage/packages dir. 
Then I chroot into the 32-bit system as described in the installation 
handbook, env-update && . /etc/profile and away I go.

Then, on the atom, I emerge -kuaDvN world to install from the packages 
I've just built.

The only thing to be careful of is keeping the atom box and the chroot 
identical. /var/lib/portage/world and /etc/portage/ must be identical. 
Also /usr/src/linux/.config and /boot/ .

Let me know if you'd like the mounting script.

-- 
Rgds
Peter

Reply via email to