On Tue, 21 Feb 2017 06:02:24 +0000, Mick wrote:

> On Tuesday 21 Feb 2017 00:22:51 Neil Bothwick wrote:

> > If the chroot is identical to your netbooks's install in terms of
> > *FLAGS, USE, @world etc, then yes. I used to do it this way when I
> > had an Atom netbook. I even build for a low memory 486 system in the
> > same way.  
> 
> You'll need to run in 32bit mode when chrooting of course:
> 
> linux32 chroot /mnt/Atom_Build_env /bin/bash
> source /etc/profile
> export PS1="(Atom_Build) $PS1"

I'm pretty sure I didn't do this. CHOST was set to 32 bit so I got 32 bit
binaries, but full use of the 64 bits for compiling.

> > Oh, and you don't need a package server, just export PKGDIR via NFS
> > and mount it on the netbook.  
> 
> Or, if you can't be bothered with the extra work to set up NFS, copy
> the contents of the PKGDIR from the chroot'ed system to the Atom after
> you finished building all the chroot'ed binary packages, then emerge
> world in the Atom.

Setting up the NFS share is a one off task, copying PKGDIR would have to
be done every time. Also, the Atom netbooks usually had very limited
storage, and PKGDIR can get very big.


-- 
Neil Bothwick

The considered application of terror is also a form of communication.

Attachment: pgpVbZ0tzpLXe.pgp
Description: OpenPGP digital signature

Reply via email to