[Pkg-zfsonlinux-devel] Bug#986299: zfs-linux: README.Debian installed for libnvpair3linux only

наб nabijaczleweli at nabijaczleweli.xyz
Fri Apr 2 17:53:33 BST 2021


Source: zfs-linux
Version: 2.0.3-4
Severity: normal

Dear Maintainer,

By default, dh_installdocs only installs default-name docs for the first
listed binary package. This is libnvpair3linux today. I personally
didn't even know zfs-linux had a Debian-specific README because I never
in a billion years thought to check anything beside zfsutils-linux or
zfs-dkms.

Something like this will put the README into all packages:
-- >8 --
diff --git a/debian/rules b/debian/rules
index 5ad4ea22c..a3d4ff302 100755
--- a/debian/rules
+++ b/debian/rules
@@ -209,7 +209,7 @@ override_dh_installsystemd:
 	dh_installsystemd --name zfs-zed
 
 override_dh_installdocs:
-	dh_installdocs
+	dh_installdocs -A
 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
 	http_proxy='127.0.0.1:9' sphinx-build -N -bhtml "$(CURDIR)/contrib/pyzfs/docs/source/" debian/pyzfs-doc/usr/share/doc/pyzfs-doc/html/
 endif
-- >8 --

The alternative would be to split it up into the relevant packages,
but you get the idea

Best,
наб

-- System Information:
Debian Release: 10.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-16-amd64 (SMP w/24 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-zfsonlinux-devel/attachments/20210402/ba98627d/attachment.sig>


More information about the Pkg-zfsonlinux-devel mailing list