Fix DKMS kernel version error

This error is triggered when the kernel version installed into the image is
different from the kernel version that's currently running.
This commit is contained in:
Alex Adriaanse 2015-06-29 23:25:02 +00:00
parent d1b63938e9
commit 76c940db37
2 changed files with 6 additions and 1 deletions

View file

@ -1,6 +1,11 @@
Changelog
=========
2015-06-29
----------
Alex Adriaanse:
* Fix DKMS kernel version error
2015-05-08
----------
Alexandre Derumier:

View file

@ -64,4 +64,4 @@ AUTOINSTALL="yes"
for task in ['add', 'build', 'install']:
# Invoke DKMS task using specified kernel module (-m) and version (-v)
log_check_call(['chroot', info.root,
'dkms', task, '-m', 'ixgbevf', '-v', version])
'dkms', task, '-m', 'ixgbevf', '-v', version, '-k', info.kernel_version])