]> git.proxmox.com Git - mirror_zfs-debian.git/commitdiff
Install enum-extract.pl with dkms
authorAntonio Russo <antonio.e.russo@gmail.com>
Mon, 26 Feb 2018 02:18:10 +0000 (21:18 -0500)
committerAron Xu <happyaron.xu@gmail.com>
Wed, 16 May 2018 13:43:50 +0000 (21:43 +0800)
debian/not-installed
debian/rules

index f54fe7310da70586c22ecf7b663d23ee8a22dd5a..a008985cf31fdfaa0035cf8c972d49d0f3f5fd69 100644 (file)
@@ -1,3 +1,4 @@
+usr/share/zfs/enum-extract.pl
 usr/share/zfs/zfs-helpers.sh
 etc/init.d
 etc/sudoers.d
index cc47a74a16f880d463231872769f3e30a0404741..f74e18de76e4d90c740e4cc8a7ca6fc124e177fd 100755 (executable)
@@ -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