Grant wrote: >>> What do you guys think of this? Do you know of a good cruft removal script? >>> >> Yep, there's quite good one in gentoo itself. >> >> Basically, you'll need to write a short config for it, consisting of >> lines like "cruft name", "cruft src uri" and a few more lines if you'll >> need to pass some extra parameters to configure/make/install. >> It'll build the package in a sandbox, then transfer it to destination, >> memorizing every change it did and preventing collisions and config >> overwrites. >> >> Just put that config script into an ebuild file and use portage to >> build it - as simple as it gets ;) >> > > I suppose you and Jesus are right, but what about cruft removal? Are > you saying Gentoo is 100% cruft-free? I've got a lot of junk in /etc > and especially ~/.* > > - Grant > > >
Portage doesn't remove files from /etc and should never touch any home directory. As far as I know, portage never puts anything in a home directory either. You have to clean out /etc and home directories yourself. Portage does do a good job of removing all the other files tho. If it puts it there, it will remove it if you unmerge a package. Dale :-) :-)