kernel posttrans and preun hooks for other packages

Matt Domsch Matt_Domsch at dell.com
Mon Feb 18 00:51:49 UTC 2008


On Sun, Feb 17, 2008 at 02:17:16PM -0500, Jeremy Katz wrote:
> On Sat, 2008-02-16 at 09:53 -0600, Matt Domsch wrote:
> > DKMS would like to have the opportunity to run it's
> > auto-rebuilder/installer after a new kernel RPM has been installed,
> > without having to wait for a system restart to run it.  Likewise, when
> > a kernel RPM is removed, it would like to be able to run to remove
> > modules managed by it.
> 
> When we talked about this, I guess at FUDCon last year, didn't we end up
> agreeing to have this stuff done from /sbin/new-kernel-pkg?  Keeping the
> implementation of things in the kernel package itself simple is a good
> thing and carrying around the explicit scripts in the kernel package's
> scriptlets doesn't help there.

I can put it in /sbin/new-kernel-pkg, but need to extend that to be
called in %posttrans then, which it isn't now.  %posttrans guarantees
me it gets called after both kernel and kernel-devel are installed,
when they're installed in the same transaction.

-- 
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