Comment 36 for bug 292606

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 292606] Re: dkms - error when installing custom kernel

Alberto:

I don't agree here that running this in the kernel postinst is going to
increase the likelihood of nvidia-common helping transition users. The
order that the nvidia-common postisnt and kernel postinst would trigger
is irrelevant, because the message will be displayed either way, and the
user can't react to it until apt is done anyway.

If you are thinking that by trigger in the kernel postinst because of
changed filed in a modalias package to catch it before nvidia-common's
postinst, you should /really/ be doing that in the modalias postinst.
That's just a hack to have it run in the kernel's. The kernel hasn't
changed these modaliases at *all*.

Alberto Milone wrote:
> @Mario
> the kernel postinst exists because it can happen that the nvidia-common postinst is triggered before the installation of the new (or updated) modalias files takes place thus preventing nvidia-common from helping users with the transition to a new driver.
>
> The kernel postinst gives nvidia-common a better chance to do its job by
> making sure that the postinst is triggered sooner or later during the
> upgrade.
>
>

--
Mario Limonciello
*Dell | Linux Engineering*
<email address hidden>