[paludis-user] bet way to remove includes, info, man and other stuff

Vasiliy G Tolstov v.tolstov at selfip.ru
Tue Mar 8 17:06:35 UTC 2011


On Tue, 2011-03-08 at 15:44 +0000, Ciaran McCreesh wrote:
> On Tue, 08 Mar 2011 18:21:50 +0300
> Vasiliy G Tolstov <v.tolstov at selfip.ru> wrote:
> > Gentoo portage have ability to do noinfo, nodoc and such. That
> > sometimes not allow to install /usr/share/{man,doc} and other.
> > 
> > I want to build minimal system with glibc, wget and some tools, but i
> > do not want to remove all /usr/include by hands. Does it paludis can
> > install only libraries and binaries to specific location?
> > 
> > Or may be i must use cave contents , grep unneeded stuff and remove it
> > by shell script?
> 
> You can write a pre-merge hook. But note that it's not in general safe
> to remove entire directories; ebuilds don't export information about
> whether things they install are optional, so expect horrible breakages.
> 

May be sometimes exheres-0 have ability to specify which parts of
packages can be safe to remove?




More information about the paludis-user mailing list