psb-kmd runs depmod -a unconditionally
Bug #199035 reported by
Steve Kowalik
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moblin (other) |
Fix Released
|
Medium
|
Inuka Gunawardana |
Bug Description
The postinst of the psb-kmd package runs depmod -a unconditionally. This is very bad, since you can fail to install if the kernel you are running isn't installed in the chroot you're installing the package in.
Attached is my patch to correct this, which exports the calculated KVERS variable to the postinst, and only runs depmod -a if uname -r and KVERS agree. This patch should be applied with 'patch -p1 -E'.
Changed in moblin-other: | |
assignee: | nobody → inuka |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in moblin-other: | |
milestone: | none → m11 |
Changed in moblin-other: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
we use psb-kmd-2.6.22 and psb-kmd-2.6.24 right now. There is no depmod -a.