[Pkg-zfsonlinux-devel] [PATCH 1/2] Add zfs-initramfs Depends: initramfs-tools

Richard Laager rlaager at wiktel.com
Sun Sep 15 07:19:02 UTC 2013


Debian Policy 7.2 / Ubuntu Policy 7.2:
 The Depends field should be used if the depended-on package is required
 for the depending package to provide a significant amount of
 functionality.

zfs-initramfs loses all functionality if initramfs-tools is not
installed. And since it's not useful in any way without initramfs-tools,
adding this dependency doesn't hurt anyone.
---
 debian/control    |    2 +-
 debian/control.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 6f1a287..40fcb92 100644
--- a/debian/control
+++ b/debian/control
@@ -96,7 +96,7 @@ Description: Native ZFS filesystem kernel modules for Linux
 
 Package: zfs-initramfs
 Architecture: linux-any
-Depends: zfs-modules | zfs-dkms, zfsutils, ${misc:Depends}
+Depends: initramfs-tools, zfs-modules | zfs-dkms, zfsutils, ${misc:Depends}
 Description: Native ZFS root filesystem capabilities for Linux
  The Z file system is a pooled filesystem designed for maximum data
  integrity, supporting data snapshots, multiple copies, and data
diff --git a/debian/control.in b/debian/control.in
index 6f1a287..40fcb92 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -96,7 +96,7 @@ Description: Native ZFS filesystem kernel modules for Linux
 
 Package: zfs-initramfs
 Architecture: linux-any
-Depends: zfs-modules | zfs-dkms, zfsutils, ${misc:Depends}
+Depends: initramfs-tools, zfs-modules | zfs-dkms, zfsutils, ${misc:Depends}
 Description: Native ZFS root filesystem capabilities for Linux
  The Z file system is a pooled filesystem designed for maximum data
  integrity, supporting data snapshots, multiple copies, and data
-- 
1.7.9.5




More information about the Pkg-zfsonlinux-devel mailing list