From 3f008d5726a7e7e38effac3ee52aeb20cd92ba6e Mon Sep 17 00:00:00 2001 From: Antonio Russo Date: Sun, 25 Feb 2018 21:18:10 -0500 Subject: [PATCH] Install enum-extract.pl with dkms --- debian/not-installed | 1 + debian/rules | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/not-installed b/debian/not-installed index f54fe731..a008985c 100644 --- a/debian/not-installed +++ b/debian/not-installed @@ -1,3 +1,4 @@ +usr/share/zfs/enum-extract.pl usr/share/zfs/zfs-helpers.sh etc/init.d etc/sudoers.d diff --git a/debian/rules b/debian/rules index cc47a74a..f74e18de 100755 --- a/debian/rules +++ b/debian/rules @@ -80,7 +80,8 @@ override_dh_auto_install: @# Install the DKMS source. @# We only want the files needed to build the modules - mkdir -p '$(CURDIR)/debian/tmp/usr/src/$(NAME)-$(DEB_VERSION_UPSTREAM)' + mkdir -p '$(CURDIR)/debian/tmp/usr/src/$(NAME)-$(DEB_VERSION_UPSTREAM)/scripts' + cp '$(CURDIR)/scripts/enum-extract.pl' '$(CURDIR)/debian/tmp/usr/src/$(NAME)-$(DEB_VERSION_UPSTREAM)/scripts' $(foreach file,$(DKMSFILES),mv '$(CURDIR)/$(NAME)-$(DEB_VERSION_UPSTREAM)/$(file)' '$(CURDIR)/debian/tmp/usr/src/$(NAME)-$(DEB_VERSION_UPSTREAM)' || exit 1;) @# Hellish awk line: @# * Deletes from configure.ac the parts not needed for building the kernel module -- 2.39.2