common.postinst fails on failed build

Bug #595968 reported by eraserix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DKMS
Fix Released
Undecided
Unassigned

Bug Description

If a dkms package prohibits some architectures or kernel versions (e.g. using BUILD_EXCLUSIVE_(KERNEL|ARCH) ), it may happen that the module can't be compiled for the current (or newest) kernel. Right now, dpkg will fail and leave the package in Failed-Config state. IMO a failed build should not influence the success of the package installation.

The attached patch does just that. It takes note of the return value of 'dkms build' and continues with the next kernel.

Related branches

Revision history for this message
eraserix (eraserix) wrote :
Jerone Young (jerone)
Changed in dkms:
status: New → Confirmed
Revision history for this message
Mario Limonciello (superm1) wrote :
Changed in dkms:
status: Confirmed → Fix Committed
Changed in dkms:
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.