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

-- 
[email protected] mailing list

Reply via email to