[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Asserting kernel version



Rob Leslie writes ("Re: Asserting kernel version"):
> > On Mon, 15 Apr 1996, Rob Leslie wrote:
> >> The last change I need to make is to assert the version of the kernel from
> >> postinst rather than using any kind of dependency (or reverse dependency)
> >> from the control file. What is the best way to do this?
> > 
> > Shouldn't you do this in the preinst?
> 
> I originally thought preinst would be the right place too, but Ian J.
> suggested postinst.

It depends on how critical the package is.  If we're talking about
something vital, without which the user will probably be unable to
compile the appropriate kernel, you should probably do it in the
preinst.

The postinst would be more appropriate for most things, as it won't
bomb out of the installation quite so badly.

Ian.


Reply to: