Install dkms before using it.

Updates the new 99-dkms element so that it installs the package
before using it.

Fixes LP Bug #1183785.

Change-Id: Ia191ed3cae707a8c8591f849dc0c6293e849d64a
This commit is contained in:
Dan Prince 2013-05-24 07:53:35 -04:00
parent be99db321b
commit a4c42954d3

View File

@ -7,6 +7,8 @@ kernels=$(ls /usr/src/linux-headers-*-*-* -d | sed -e 's|/usr/src/linux-headers-
__ARCH=$ARCH __ARCH=$ARCH
unset ARCH unset ARCH
install-packages dkms
for module in $modules ; do for module in $modules ; do
for kernel in $kernels ; do for kernel in $kernels ; do
dkms build $module -k $kernel dkms build $module -k $kernel