From 8cca55f18b264a3b7fc66920b821827eee775a59 Mon Sep 17 00:00:00 2001 From: Shengqi Chen Date: Sun, 17 Aug 2025 11:16:54 +0800 Subject: [PATCH] Debian rules: install scripts/objtool-wrapper.in into dkms tree MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Reviewed-by: Attila Fülöp Signed-off-by: Shengqi Chen Closes #17633 Closes #17646 --- contrib/debian/rules.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/debian/rules.in b/contrib/debian/rules.in index 12e44823c..2b0568938 100755 --- a/contrib/debian/rules.in +++ b/contrib/debian/rules.in @@ -93,7 +93,7 @@ override_dh_auto_install: @# Install the DKMS source. @# We only want the files needed to build the modules install -D -t '$(CURDIR)/debian/tmp/usr/src/$(NAME)-$(DEB_VERSION_UPSTREAM)/scripts' \ - '$(CURDIR)/scripts/dkms.postbuild' + '$(CURDIR)/scripts/dkms.postbuild' '$(CURDIR)/scripts/objtool-wrapper.in' $(foreach file,$(DKMSFILES),mv '$(CURDIR)/$(NAME)-$(DEB_VERSION_UPSTREAM)/$(file)' '$(CURDIR)/debian/tmp/usr/src/$(NAME)-$(DEB_VERSION_UPSTREAM)' || exit 1;) @# Only ever build Linux modules