summaryrefslogtreecommitdiffstats
path: root/dh_installinitramfs
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installinitramfs')
-rwxr-xr-xdh_installinitramfs9
1 files changed, 8 insertions, 1 deletions
diff --git a/dh_installinitramfs b/dh_installinitramfs
index 37fb27f..3322484 100755
--- a/dh_installinitramfs
+++ b/dh_installinitramfs
@@ -71,7 +71,14 @@ init();
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp = tmpdir($package);
- my $hook_script = pkgfile($package, 'initramfs-hook');
+ my $hook_script = pkgfile(
+ {
+ 'named' => 0,
+ 'support-architecture-restriction' => 0,
+ },
+ $package,
+ 'initramfs-hook',
+ );
my $has_hooks;
my $hook_dir = "${tmp}/usr/share/initramfs-tools/hooks";