Package: dracut-core
Version: 044+241-1
Severity: important
Tags: patch

At the moment the module-setup.sh script of the aufs-module included in the
Debian package do not check if there is an aufs module installed in the
DKMS path.

The attached patch adds the feature that the check() function of the setup
file also controls the DKMS location and thus adds support for the aufs-dkms
package.

Best regards,
Jan
diff --git a/debian/90aufs/module-setup.sh b/debian/90aufs/module-setup.sh
index 56d24580..9987cc87 100755
--- a/debian/90aufs/module-setup.sh
+++ b/debian/90aufs/module-setup.sh
@@ -2,7 +2,7 @@
 
 check() {
     # do not add modules if the kernel does not have aufs support
-    [ -d /lib/modules/$kernel/kernel/fs/aufs ] || return 1
+    [ -d /lib/modules/$kernel/kernel/fs/aufs ] || [ -f 
/lib/modules/$kernel/updates/dkms/aufs.ko ] || return 1
 }
 
 depends() {

Reply via email to