On Monday 06 November 2006 14:27, Neil Bothwick wrote: > On Mon, 6 Nov 2006 13:50:35 +0100, Hans-Werner Hilse wrote: > > If you want to strip down documentation, > > locales and stuff, have a look at the scripting facilities of portage: > > e.g. put this into /etc/portage/bashrc (on the "master" chroot, if you > > go with a buildhost): > > ---snip > > post_src_install() { > > rm -rf image/usr/share/man > > rm -rf image/usr/share/doc > > } > > Or use FEATURES="nodoc noman noinfo", provided you are using a recent > enough portage, I'm unsure of when this was introduced. It's was introduced before portage-2.0.50. :) http://sources.gentoo.org/viewcvs.py/gentoo-src/portage/bin/ebuild.sh?r1=1.145&r2=1.146 -- Bo Andresen