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