On Wed, 21 Sep 2005, Neil Bothwick wrote: > On Wed, 21 Sep 2005 15:55:06 -0400 (EDT), A. Khattri wrote: > > > Since ebuilds have preinstall and postinstall functions, it would be > > nice if there were preunmerge and postunmerge functions - then it would > > be easy to re-write the kernel ebuilds to clean up after themselves. > > Like these? > > > pkg_preinst The commands in this function are run just prior to merging > a package image into the file system. > > pkg_postinst The commands in this function are run just following > merging a package image into the file system. > > pkg_prerm The commands in this function are run just prior to > unmerging a package image from the file system. > > pkg_postrm The commands in this function are run just following > unmerging a package image from the file system. > > From http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1
The gentoo-sources ebuilds dont seem to override them (for one thing, it could remove modules for the kernel you're unmerging). -- -- gentoo-user@gentoo.org mailing list