]> git.proxmox.com Git - mirror_spl-debian.git/blobdiff - debian/rules
Merge branch 'upstream'
[mirror_spl-debian.git] / debian / rules
index c1c2f1996fe7e418f30685a8115c5570254b49a9..46146bd9a773d1e01fe81f6f89edb97c7a87124f 100755 (executable)
@@ -18,7 +18,13 @@ override_dh_auto_install:
        # Install the utilities.
        make install DESTDIR='$(CURDIR)/debian/tmp'
 
-       # Get a bare copy of the source code. This creates the $(CURDIR)/$(NAME)-$(VERSION)/ tree.
+       # Create a dummy hostid file for the zfs-initramfs package.
+       # NB: Commentary in the spl.postinst script.
+       mkdir -p '$(CURDIR)/debian/tmp/etc/'
+       /usr/bin/printf '\xFF\xFF\xFF\xFF' >'$(CURDIR)/debian/tmp/etc/hostid'
+
+       # Get a bare copy of the source code.
+       # This creates the $(CURDIR)/$(NAME)-$(VERSION)/ tree.
        make distdir
 
        # This shunt allows DKMS to delete header files that are peculiar to each