psb-kmd runs depmod -a unconditionally

Bug #199035 reported by Steve Kowalik
4
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'.

Tags: ume
Revision history for this message
Steve Kowalik (stevenk) wrote :
alek du (alek-du)
Changed in moblin-other:
assignee: nobody → inuka
importance: Undecided → Medium
status: New → Triaged
alek du (alek-du)
Changed in moblin-other:
milestone: none → m11
Changed in moblin-other:
status: Triaged → Fix Committed
Revision history for this message
Jing Wang (jing-j-wang) wrote :

we use psb-kmd-2.6.22 and psb-kmd-2.6.24 right now. There is no depmod -a.

Changed in moblin-other:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.