Talk:HOWTO Create A Build Host

From Gentoo Linux Wiki

Jump to: navigation, search

I don't quite get this. At 2.5 Create cron scripts to keep the build area up to date it is written:

     mount -t nfs buildHost:/usr/portage/distfiles ${arch}/usr/portage/distfiles

Why is /usr/portage/distfiles mounted via NFS? I understood it so, that the /mnt/gentoo/Maintenance script is supposed to be run on the build host. No? If so, why NFS? Wouldn't it be sufficient and faster to use a "bind" mount?

     mount -o bind /usr/portage/distfiles ${arch}/usr/portage/distfiles

or maybe simpler, just create a symbolic link.

[edit] /mnt/gentoo/Maintain

# Build everything required by any host in our network.
# This can take a very long time.
if [ "x$1" != "xNOBUILD" ]; then
#  emerge --update --deep world
   cat /var/lib/portage/world | xargs emerge --buildpkg --update --deep --newuse
fi

I changed to these emerge flags to enable use flag changes, buildpkg is in there in case packages already exist and this is a fresh build host. Im not sure if it helps this setup as I do all the jobs using dsh and ssh-installkeys, that way ALL the scripts can be modified to stay on the buildhost.

--DP110 21:42, 19 January 2006 (GMT)


[edit] /mnt/gentoo/make.conf

What about useflags not supportet on the buidlhost? I have an intel pentium M laptop and wanted an Athlon (32Bit) to be my bulidhost. The Athlon does not support sse2, during emerging system, texinfo (for example) does not build.

any suggestions?

80.137.70.4 13:48, 9 March 2006 (GMT)

Personal tools