summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2020-01-18 15:04:42 +0000
committerBen Hutchings <ben@decadent.org.uk>2020-01-18 15:04:42 +0000
commitb19b6f3bad9afd0c399a5b216fab138597c2d414 (patch)
tree98d24fb4fe91c24d2405d1d281e3253d0295600a
parent4d86d1a99a781a128c6a0a9c01b3ec0053ca29ad (diff)
debian/rules: Suppress execution of dh_installinitramfs
debhelper 12 wants to run dh_installinitramfs, but we don't want this - in particular, because it makes initramfs-tools-core's maintainer scripts run update-initramfs. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 97a16df..42ad0d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,9 @@ override_dh_install:
chmod 755 debian/initramfs-tools-core/usr/sbin/mkinitramfs
dh_install
+override_dh_installinitramfs:
+ @:
+
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
shellcheck -e SC1090,SC1091 -s dash hook-functions $$(find hooks scripts -type f) $$({ find . -maxdepth 1 -type f -executable; find debian -maxdepth 1 -type f; find docs kernel -type f; } | xargs grep -l '^#!/bin/sh')