On Mon, Feb 18, 2008 at 09:49:44AM -0600, Matt Domsch wrote:
On Mon, Feb 18, 2008 at 09:36:49AM -0500, Jeremy Katz wrote:
On Sun, 2008-02-17 at 20:16 -0600, Matt Domsch wrote:
is there any reason why we can't just move %post to %posttrans?
%posttrans breaks the way we do bootloader config updating as it leaves around no entries in the bootloader config after all the %preuns have been processed. I looked at this a few months ago and thought we talked about it here, but it might have just been mail between davej and myself
ok, new-kernel-pkg grows a --rpmposttrans mode then to call these hooks, and we add a %posttrans to each kernel RPM.
and we need /sbin/installkernel to call it too. That's not called from within an RPM, but is called when the user manally builds a kernel.org kernel.