kernel posttrans and preun hooks for other packages

Matt Domsch Matt_Domsch at dell.com
Mon Feb 18 19:50:46 UTC 2008


On Mon, Feb 18, 2008 at 01:42:49PM -0600, Jason L Tibbitts III wrote:
> >>>>> "PJ" == Peter Jones <pjones at redhat.com> writes:
> 
> PJ> That doesn't guarantee the right thing -- it's inverted.  It makes
> PJ> it so that before kernel-devel's %post runs, kernel must be
> PJ> installed. What Matt needs is a guarantee that kernel-devel is
> PJ> installed (if it will be installed at all) before kernel's %post
> PJ> runs.
> 
> Well, since kernel-devel is the package that's actually the one you
> need to do anything, can't you just trigger on kernel-devel installs?

no, because if DKMS decides it needs to call mkinitrd again, it needs
to have kernel installed.  It really is a "both and please", hence
%posttrans gets us that.

-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux




More information about the Fedora-kernel-list mailing list