dkms: should prepare modules before ramdisks

This commit is contained in:
Toyam Cox 2016-10-23 17:33:33 -04:00
parent 52521c8c7c
commit 9f9f22f589

View file

@ -1,7 +1,7 @@
# Template file for 'dkms'
pkgname=dkms
version=2.2.0.3
revision=11
revision=12
conf_files="/etc/dkms/framework.conf"
depends="bash kmod gcc make coreutils linux-headers"
homepage="http://linux.dell.com/dkms"
@ -24,6 +24,6 @@ do_install() {
vinstall dkms.bash-completion 644 usr/share/bash-completion/completions dkms
vinstall dkms_framework.conf 644 etc/dkms framework.conf
# Kernel hooks.
vinstall ${FILESDIR}/kernel.d/dkms.postinst 750 etc/kernel.d/post-install 20-dkms
vinstall ${FILESDIR}/kernel.d/dkms.prerm 750 etc/kernel.d/pre-remove 20-dkms
vinstall ${FILESDIR}/kernel.d/dkms.postinst 750 etc/kernel.d/post-install 10-dkms
vinstall ${FILESDIR}/kernel.d/dkms.prerm 750 etc/kernel.d/pre-remove 10-dkms
}