summaryrefslogtreecommitdiffstats
path: root/dh_installmodules
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installmodules')
-rwxr-xr-xdh_installmodules9
1 files changed, 8 insertions, 1 deletions
diff --git a/dh_installmodules b/dh_installmodules
index 924a338..2511a0f 100755
--- a/dh_installmodules
+++ b/dh_installmodules
@@ -90,7 +90,14 @@ sub find_kernel_modules {
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
- my $modprobe_file=pkgfile($package,"modprobe");
+ my $modprobe_file = pkgfile(
+ {
+ 'named' => 0,
+ 'support-architecture-restriction' => 0,
+ },
+ $package,
+ "modprobe",
+ );
if ($modprobe_file) {
my $path = '/etc/modprobe.d/' . pkgfilename($package) . '.conf';