Ticket #107 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

[pkg] Fix depmod in upgrade mode when upgrading kernel and modules

Reported by: pjf Assigned to: pjf
Priority: normal Milestone: 2.0
Component: Build system Version: 0.2rc1
Severity: major Keywords:
Cc:

Description

In case when both the kernel and (at least one) a kernel module is upgraded and uploaded to a package repository, calling pkg update and then pkg upgrade will not call depmod properly for the module, so it won't work after booting the new kernel.

Possible workaround would be to check in pkg what is the new kernel version that the module is compiled against (grepping filelist for /lib/modules/<regexp>?) and use it when calling depmod.

Change History

09/17/06 15:55:54 changed by pjf

  • status changed from new to closed.
  • resolution set to fixed.