Bug 986557

Summary: POST_BUILD ignored by dkms.
Product: [Fedora] Fedora Reporter: GV <rhel>
Component: dkmsAssignee: Simone Caronni <negativo17>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: charles_rose, mario_limonciello, negativo17, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: dkms-2.2.0.3-14.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-02 03:36:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description GV 2013-07-20 15:25:46 UTC
Description of problem:

dkms ignore POST_BUILD directive since is not in readonly dkms_conf_variables.

Comment 1 Simone Caronni 2013-07-21 13:51:45 UTC
Can you please test this build? It contains a patch for your fix.

http://koji.fedoraproject.org/koji/buildinfo?buildID=436163

Holding in pushing it in updates-testing as I'm waiting for #986660 to be closed.

Comment 2 GV 2013-07-21 14:24:22 UTC
Yes, the patch fixed the problem (it does the same thing I did). Thank you.

One more thing about POST[ADD,BUILD,INSTALL]. It would be nice if dkms script would pass on variables such as kernel version, the name / version of the module, if build has succeed, etc. (I know I can extract most of those variables using modinfo).

Also maybe POST_BUILD should run before dkms copy the modules from the build directory. For example, this would make signing modules easier: now I have to find if the module(s) exist in the build directory, extract the kernel version from the module, verify if ../$kver/$arch/module/$module.ko exist, sign the module, copy the signed module over ../$kver/$arch/module/$module.ko.

Comment 3 Fedora Update System 2013-07-23 08:31:27 UTC
dkms-2.2.0.3-14.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/dkms-2.2.0.3-14.fc19

Comment 4 Fedora Update System 2013-07-23 08:31:53 UTC
dkms-2.2.0.3-14.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/dkms-2.2.0.3-14.fc18

Comment 5 Fedora Update System 2013-07-23 08:32:21 UTC
dkms-2.2.0.3-14.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/dkms-2.2.0.3-14.fc17

Comment 6 Fedora Update System 2013-07-23 08:32:52 UTC
dkms-2.2.0.3-14.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/dkms-2.2.0.3-14.el6

Comment 7 Fedora Update System 2013-07-23 08:33:28 UTC
dkms-2.2.0.3-14.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/dkms-2.2.0.3-14.el5

Comment 8 Simone Caronni 2013-07-23 08:34:56 UTC
Please leave feedback in Bodhi!

Comment 9 Fedora Update System 2013-07-23 19:39:05 UTC
Package dkms-2.2.0.3-14.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing dkms-2.2.0.3-14.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-10949/dkms-2.2.0.3-14.el6
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2013-08-02 03:36:57 UTC
dkms-2.2.0.3-14.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2013-08-02 03:53:43 UTC
dkms-2.2.0.3-14.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2013-08-07 18:11:12 UTC
dkms-2.2.0.3-14.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2013-08-07 18:13:07 UTC
dkms-2.2.0.3-14.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.