Control: tag -1 patch

On Mon, 12 May 2025 23:30:10 +0200 Chris Hofstaedtler <z...@debian.org> wrote:
Source: jool
Version: 4.1.14-2

    dh_missing -i
dh_missing: warning: usr/bin/jool exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/bin/jool_siit exists in debian/tmp but is not installed to anywhere
...> dh_missing: error: missing files, aborting
        The following debhelper tools have reported what they installed (with 
files per package)
         * dh_install: jool-dkms (1), jool-tools (0)

Since the override target does not call dh_install on jool-tools during an arch:all-only-build, it cannot record the files that it does *not* install and therefore dh_missing complains.

Let's just make that less complicated ...


Andreas
From 79d98c8219f050639c4a2678e8ff9fd3a2695e15 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a...@debian.org>
Date: Wed, 21 May 2025 00:42:36 +0200
Subject: [PATCH] Let dh_install decide which packages it has to act on

Closes: #1105183
---
 debian/rules | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2c3e9f7..cbd62a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,9 +22,7 @@ override_dh_dkms:
 	# -V enables us to use #MODULE_VERSION# in the jool-dkms.dkms file.
 	dh_dkms -V
 
-override_dh_install:
-	# See `debhelper(7)`, not `dh_install(1)`.
-	dh_install -Njool-dkms
+execute_after_dh_install:
 	dh_install -pjool-dkms \
 		-X/usr/ -X.o -XMakefile.in -XMakefile.am \
 		src usr/src/jool-$(DEB_VERSION_UPSTREAM)
-- 
2.39.5

Reply via email to