On Thu, 24 Sep 2009 15:54:57 -0600, Maxim Wexler wrote: > > As mentioned yesterday, I now do all emerges in a chroot on my > > desktop to build binary packages, then emerge -k on the Eee, so Ooo > > only takes 90 minutes now. The only compiling I do on the Eee is > > kernel changes. > > I've decided to give your method a whirl. Are you talking about distcc > here? That would require a gcc upgrade on the desktop to match the > Eee's, no? > > Can you cite a howto or tutorial for your method? Or, perhaps flesh it > out with a few more details.
I did in another post, probably the "mentioned yesterday" one. I'm not talking about distcc, although it does use that also. I have a copy of my Eee in a directory on my desktop that I chroot into in the same way that you do for installation. FEATURES includes buildpkg and $PKGDIR is an NFS share accessed by bother. Then I just do emerge -u @world in the chroot followed by emerge -uK @world on the Eee. There's a little more to it than that, I also sync /etc/portage and /var/lib/world* from the Eee to the chroot in the script that starts up the chroot. ---------- #!/bin/sh rsync -a --delete krikkit:/etc/portage/ /mnt/eee/etc/portage/ rsync -a --delete krikkit:/var/lib/portage/world\* /mnt/eee/var/lib/portage/ mount -t proc none /mnt/eee/proc mount --bind /dev/ /mnt/eee/dev mount --bind /usr/portage /mnt/eee/usr/portage mount --bind /mnt/portage /mnt/eee/mnt/portage mount --bind /var/tmp/eee /mnt/eee/var/tmp sudo su - -c "chroot /mnt/eee /bin/zsh" sudo umount /mnt/eee/dev sudo umount /mnt/eee/proc sudo umount /mnt/eee/usr/portage sudo umount /mnt/eee/mnt/portage sudo umount /mnt/eee/var/tmp ---------- /mnt/portage is the NFS share containing $DISTDIR and $PKGDIR. -- Neil Bothwick Feature : BUG with seniority.
signature.asc
Description: PGP signature