Take a look at catalyst which is used by the release team to make install cd's etc (which do not have portage installed). There are published catalyst spec files that delete all the unnecessary stuff quite safely.
On Tue, 16 May 2006 21:32:55 -0600 Rennie deGraaf wrote: > I am trying to build a number of minimal Gentoo images without portage > installed. The approach I was taking was to build a master image with > all the software that I need according to the standard Gentoo > installation instructions, and then remove portage and create the > minimal images. If I ever decide that I need to install new software or > upgrade something, I'll make the changes to the master and generate new > minimal images. > > My question is, how do I correctly uninstall portage? My main concern > is the several hundred megabytes taken up by /usr/portage, > /var/cache/edb, /var/db/pkg, /var/lib/portage and wherever else portage > stores data; I'm not really concerned with the binaries, but would > prefer to remove them as well, just to be tidy. Will "emerge -C > portage" clean up everything safely, or will I have to clean up some > directories manually? > > For that matter, what are all the directories used for data by portage, > that I could delete on a system that doesn't use portage? > > Thanks, > Rennie deGraaf > > -- > gentoo-user@gentoo.org mailing list -- Nick Rout <[EMAIL PROTECTED]> -- gentoo-user@gentoo.org mailing list