]> git.proxmox.com Git - mirror_zfs-debian.git/commitdiff
Move debian/patches into a separate branch.
authorDarik Horn <dajhorn@vanadac.com>
Wed, 18 Jan 2012 19:40:19 +0000 (13:40 -0600)
committerDarik Horn <dajhorn@vanadac.com>
Wed, 18 Jan 2012 19:55:58 +0000 (13:55 -0600)
Using git to automatically rediff the patches is easier than using
`quilt refresh` and manually resolving conflicts, especially because
most submissions for this project come from git remotes.

It is also faster to pull and later discard experimental topic branches.

This also keeps the packaging master history clean and concise, and avoids
accidentally conflating the upstream master. Reverting a commit that changed
something outside of the debian/ overlay is ugly.

14 files changed:
debian/patches/0001-Prevent-manual-builds-in-the-DKMS-source.patch [new file with mode: 0644]
debian/patches/0001-Use-bin-bash-to-invoke-dracut-scripts.patch [deleted file]
debian/patches/0002-Allow-setting-bootfs-on-any-pool.patch [deleted file]
debian/patches/0002-Remove-the-COPYING-file.patch [new file with mode: 0644]
debian/patches/0003-Remove-all-upstream-init.d-components.patch [new file with mode: 0644]
debian/patches/0004-Remove-the-upstream-dracut-component.patch [new file with mode: 0644]
debian/patches/0005-Remove-userland-dist-rules.patch [new file with mode: 0644]
debian/patches/0006-Allow-GPT-EFI-vdev-replacement-in-boot-pools.patch [new file with mode: 0644]
debian/patches/README [new file with mode: 0644]
debian/patches/disable-dist-init.patch [deleted file]
debian/patches/disable-dist-scripts.patch [deleted file]
debian/patches/lintian-COPYING.patch [deleted file]
debian/patches/lintian-ltmain.patch [deleted file]
debian/patches/series

diff --git a/debian/patches/0001-Prevent-manual-builds-in-the-DKMS-source.patch b/debian/patches/0001-Prevent-manual-builds-in-the-DKMS-source.patch
new file mode 100644 (file)
index 0000000..bfc14b2
--- /dev/null
@@ -0,0 +1,75 @@
+From 4cdadd9bb09dbbaea7236d1becf3016c4fae0294 Mon Sep 17 00:00:00 2001
+From: Darik Horn <dajhorn@vanadac.com>
+Date: Tue, 17 Jan 2012 19:45:07 -0600
+Subject: [PATCH 1/6] Prevent manual builds in the DKMS source.
+
+Print an instructive error messsage and exit if the `dkms.conf` file
+exists when the userland is configured. (ie: `--with-config=user`)
+
+A non-trivial number of people try to rebuild ZoL from the
+`/usr/src/zfs` tree, which is modified to better satisfy Debian
+packaging policy and contains only the module sources for DKMS.
+
+Regardless, local installations usually break managed installations,
+so this autotools test could be further enhanced to check whether
+ZFS has a DKMS registration.
+---
+ config/dkms.m4      |   14 ++++++++++++++
+ config/user.m4      |    1 +
+ config/zfs-build.m4 |    6 +++---
+ 3 files changed, 18 insertions(+), 3 deletions(-)
+ create mode 100644 config/dkms.m4
+
+diff --git a/config/dkms.m4 b/config/dkms.m4
+new file mode 100644
+index 0000000..cfa1152
+--- /dev/null
++++ b/config/dkms.m4
+@@ -0,0 +1,14 @@
++dnl #
++dnl # Prevent manual building in DKMS source tree.
++dnl #
++AC_DEFUN([ZFS_AC_DKMS_INHIBIT], [
++      AC_MSG_CHECKING([for dkms.conf file])
++        AS_IF([test -e dkms.conf], [
++              AC_MSG_ERROR([
++      *** ZFS should not be manually built in the DKMS source tree.
++      *** Remove all ZFS packages before compiling the ZoL sources.
++      *** Running "make install" breaks ZFS packages.])
++        ], [
++              AC_MSG_RESULT([not found])
++        ])
++])
+diff --git a/config/user.m4 b/config/user.m4
+index 4fcef3d..16b8a76 100644
+--- a/config/user.m4
++++ b/config/user.m4
+@@ -2,6 +2,7 @@ dnl #
+ dnl # Default ZFS user configuration
+ dnl #
+ AC_DEFUN([ZFS_AC_CONFIG_USER], [
++      ZFS_AC_DKMS_INHIBIT
+       ZFS_AC_CONFIG_USER_UDEV
+       ZFS_AC_CONFIG_USER_ARCH
+       ZFS_AC_CONFIG_USER_IOCTL
+diff --git a/config/zfs-build.m4 b/config/zfs-build.m4
+index aa8d3e5..784e21e 100644
+--- a/config/zfs-build.m4
++++ b/config/zfs-build.m4
+@@ -54,10 +54,10 @@ AC_DEFUN([ZFS_AC_CONFIG], [
+       ZFS_AC_CONFIG_ALWAYS
+       case "$ZFS_CONFIG" in
+-              kernel) ZFS_AC_CONFIG_KERNEL ;;
+               user)   ZFS_AC_CONFIG_USER   ;;
+-              all)    ZFS_AC_CONFIG_KERNEL
+-                      ZFS_AC_CONFIG_USER   ;;
++              kernel) ZFS_AC_CONFIG_KERNEL ;;
++              all)    ZFS_AC_CONFIG_USER
++                      ZFS_AC_CONFIG_KERNEL ;;
+               srpm)                        ;;
+               *)
+               AC_MSG_RESULT([Error!])
+-- 
+1.7.5.4
+
diff --git a/debian/patches/0001-Use-bin-bash-to-invoke-dracut-scripts.patch b/debian/patches/0001-Use-bin-bash-to-invoke-dracut-scripts.patch
deleted file mode 100644 (file)
index ad83027..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-From 4d7340ec9c3fa9f8918a50349887d212441ada26 Mon Sep 17 00:00:00 2001
-From: Darik Horn <dajhorn@vanadac.com>
-Date: Tue, 11 Oct 2011 19:45:40 -0500
-Subject: [PATCH] Use /bin/bash to invoke dracut scripts.
-
-The system shell on most Debian and Ubuntu systems is dash, so change
-the whack-bang in the Dracut scripts from /bin/sh to /bin/bash.
-
-The `printf "\x$DD\x$CC\x$BB\x$AA" >$TMP` line is problematic because
-dash builtin does not implement the hex format.
----
- dracut/90zfs/module-setup.sh.in |    2 +-
- dracut/90zfs/mount-zfs.sh.in    |    2 +-
- dracut/90zfs/parse-zfs.sh.in    |    2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-Index: b/dracut/90zfs/module-setup.sh.in
-===================================================================
---- a/dracut/90zfs/module-setup.sh.in
-+++ b/dracut/90zfs/module-setup.sh.in
-@@ -1,4 +1,4 @@
--#!/bin/sh
-+#!/bin/bash
- check() {
-       # We depend on udev-rules being loaded
-Index: b/dracut/90zfs/mount-zfs.sh.in
-===================================================================
---- a/dracut/90zfs/mount-zfs.sh.in
-+++ b/dracut/90zfs/mount-zfs.sh.in
-@@ -1,4 +1,4 @@
--#!/bin/sh
-+#!/bin/bash
- . /lib/dracut-lib.sh
-Index: b/dracut/90zfs/parse-zfs.sh.in
-===================================================================
---- a/dracut/90zfs/parse-zfs.sh.in
-+++ b/dracut/90zfs/parse-zfs.sh.in
-@@ -1,4 +1,4 @@
--#!/bin/sh
-+#!/bin/bash
- . /lib/dracut-lib.sh
diff --git a/debian/patches/0002-Allow-setting-bootfs-on-any-pool.patch b/debian/patches/0002-Allow-setting-bootfs-on-any-pool.patch
deleted file mode 100644 (file)
index e414008..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-From 884959bab92d18139e40b30daa53fd6a713c995e Mon Sep 17 00:00:00 2001
-From: Richard Laager <rlaager@wiktel.com>
-Date: Fri, 13 Jan 2012 16:24:15 -0600
-Subject: [PATCH] Allow setting bootfs on any pool
-
-The vdev_is_bootable() restrictions are no longer necessary with recent
-GRUB2 code.  FreeBSD has implemented the same change, except that I
-moved the Solaris comment to be inside the #ifdef __sun__ block.
----
- module/zfs/vdev.c |   11 ++++++++---
- 1 files changed, 8 insertions(+), 3 deletions(-)
-
-diff --git a/module/zfs/vdev.c b/module/zfs/vdev.c
-index 002baa0..30672cc 100644
---- a/module/zfs/vdev.c
-+++ b/module/zfs/vdev.c
-@@ -3053,13 +3053,17 @@ vdev_set_state(vdev_t *vd, boolean_t isopen, vdev_state_t state, vdev_aux_t aux)
- /*
-  * Check the vdev configuration to ensure that it's capable of supporting
-- * a root pool. Currently, we do not support RAID-Z or partial configuration.
-- * In addition, only a single top-level vdev is allowed and none of the leaves
-- * can be wholedisks.
-+ * a root pool.
-  */
- boolean_t
- vdev_is_bootable(vdev_t *vd)
- {
-+#ifdef sun
-+      /*
-+       * Currently, we do not support RAID-Z or partial configuration.
-+       * In addition, only a single top-level vdev is allowed and none of the
-+       * leaves can be wholedisks.
-+       */
-       int c;
-       if (!vd->vdev_ops->vdev_op_leaf) {
-@@ -3080,6 +3084,7 @@ vdev_is_bootable(vdev_t *vd)
-               if (!vdev_is_bootable(vd->vdev_child[c]))
-                       return (B_FALSE);
-       }
-+#endif /* sun */
-       return (B_TRUE);
- }
--- 
-1.7.5.4
-
diff --git a/debian/patches/0002-Remove-the-COPYING-file.patch b/debian/patches/0002-Remove-the-COPYING-file.patch
new file mode 100644 (file)
index 0000000..1a4552b
--- /dev/null
@@ -0,0 +1,38 @@
+From 1bd76d57fe733cf77f95fe7c90e790adde4611b6 Mon Sep 17 00:00:00 2001
+From: Darik Horn <dajhorn@vanadac.com>
+Date: Tue, 17 Jan 2012 22:18:47 -0600
+Subject: [PATCH 2/6] Remove the COPYING file.
+
+Resolve this lintian warning by removing the COPYING file:
+
+       W: zfsutils: extra-license-file usr/share/doc/zfsutils/COPYING
+       N:
+       N:    All license information should be collected in the debian/copyright
+       N:    file. This usually makes it unnecessary for the package to install this
+       N:    information in other places as well.
+       N:
+       N:    Refer to Debian Policy Manual section 12.5 (Copyright information) for
+       N:    details.
+       N:
+       N:    Severity: normal, Certainty: possible
+       N:
+
+The COPYING file in this project is a place holder that does not
+contain the software license, and it is optional for autotools
+because the automake template is "foreign".
+---
+ COPYING |    2 --
+ 1 files changed, 0 insertions(+), 2 deletions(-)
+ delete mode 100644 COPYING
+
+diff --git a/COPYING b/COPYING
+deleted file mode 100644
+index 90f4490..0000000
+--- a/COPYING
++++ /dev/null
+@@ -1,2 +0,0 @@
+-Please see COPYRIGHT and OPENSOLARIS.LICENSE for the copyright
+-and license details.
+-- 
+1.7.5.4
+
diff --git a/debian/patches/0003-Remove-all-upstream-init.d-components.patch b/debian/patches/0003-Remove-all-upstream-init.d-components.patch
new file mode 100644 (file)
index 0000000..4308e57
--- /dev/null
@@ -0,0 +1,1497 @@
+From c91297480756485c603328d5ed529343feb41bfb Mon Sep 17 00:00:00 2001
+From: Darik Horn <dajhorn@vanadac.com>
+Date: Tue, 17 Jan 2012 11:54:21 -0600
+Subject: [PATCH 3/6] Remove all upstream init.d components.
+
+The etc/init.d/ components are redundant because the debian/ overlay
+bundles init files according to Debian packaging policy.
+---
+ configure.ac             |    1 -
+ etc/Makefile.am          |    2 +-
+ etc/init.d/.gitignore    |    1 -
+ etc/init.d/Makefile.am   |   22 --
+ etc/init.d/Makefile.in   |  550 ----------------------------------------------
+ etc/init.d/zfs.arch.in   |   62 ------
+ etc/init.d/zfs.fedora.in |  244 --------------------
+ etc/init.d/zfs.gentoo.in |  111 ----------
+ etc/init.d/zfs.lsb.in    |  130 -----------
+ etc/init.d/zfs.lunar.in  |   95 --------
+ etc/init.d/zfs.redhat.in |  176 ---------------
+ 11 files changed, 1 insertions(+), 1393 deletions(-)
+ delete mode 100644 etc/init.d/.gitignore
+ delete mode 100644 etc/init.d/Makefile.am
+ delete mode 100644 etc/init.d/Makefile.in
+ delete mode 100644 etc/init.d/zfs.arch.in
+ delete mode 100644 etc/init.d/zfs.fedora.in
+ delete mode 100644 etc/init.d/zfs.gentoo.in
+ delete mode 100644 etc/init.d/zfs.lsb.in
+ delete mode 100644 etc/init.d/zfs.lunar.in
+ delete mode 100644 etc/init.d/zfs.redhat.in
+
+diff --git a/configure.ac b/configure.ac
+index f59ea93..14aed03 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -60,7 +60,6 @@ AC_CONFIG_FILES([
+       udev/Makefile
+       udev/rules.d/Makefile
+       etc/Makefile
+-      etc/init.d/Makefile
+       etc/zfs/Makefile
+       man/Makefile
+       man/man8/Makefile
+diff --git a/etc/Makefile.am b/etc/Makefile.am
+index 65882b5..b5e497f 100644
+--- a/etc/Makefile.am
++++ b/etc/Makefile.am
+@@ -1 +1 @@
+-SUBDIRS = init.d zfs
++SUBDIRS = zfs
+diff --git a/etc/init.d/.gitignore b/etc/init.d/.gitignore
+deleted file mode 100644
+index 73304bc..0000000
+--- a/etc/init.d/.gitignore
++++ /dev/null
+@@ -1 +0,0 @@
+-zfs
+diff --git a/etc/init.d/Makefile.am b/etc/init.d/Makefile.am
+deleted file mode 100644
+index c1b131b..0000000
+--- a/etc/init.d/Makefile.am
++++ /dev/null
+@@ -1,22 +0,0 @@
+-initdir = $(DEFAULT_INIT_DIR)
+-init_SCRIPTS = zfs
+-
+-EXTRA_DIST = \
+-      $(top_srcdir)/etc/init.d/zfs.fedora.in \
+-      $(top_srcdir)/etc/init.d/zfs.gentoo.in \
+-      $(top_srcdir)/etc/init.d/zfs.lsb.in \
+-      $(top_srcdir)/etc/init.d/zfs.lunar.in \
+-      $(top_srcdir)/etc/init.d/zfs.redhat.in \
+-      $(top_srcdir)/etc/init.d/zfs.arch.in
+-
+-$(init_SCRIPTS):
+-      -$(SED) -e 's,@bindir\@,$(bindir),g' \
+-              -e 's,@sbindir\@,$(sbindir),g' \
+-              -e 's,@udevdir\@,$(udevdir),g' \
+-              -e 's,@udevruledir\@,$(udevruledir),g' \
+-              -e 's,@sysconfdir\@,$(sysconfdir),g' \
+-              -e 's,@initdir\@,$(initdir),g' \
+-              '$@.$(DEFAULT_INIT_SCRIPT).in' >'$@'
+-
+-distclean-local::
+-      -$(RM) $(init_SCRIPTS)
+diff --git a/etc/init.d/Makefile.in b/etc/init.d/Makefile.in
+deleted file mode 100644
+index f4d0854..0000000
+--- a/etc/init.d/Makefile.in
++++ /dev/null
+@@ -1,550 +0,0 @@
+-# Makefile.in generated by automake 1.11.1 from Makefile.am.
+-# @configure_input@
+-
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+-# Inc.
+-# This Makefile.in is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
+-
+-# This program is distributed in the hope that it will be useful,
+-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+-# PARTICULAR PURPOSE.
+-
+-@SET_MAKE@
+-
+-VPATH = @srcdir@
+-pkgdatadir = $(datadir)/@PACKAGE@
+-pkgincludedir = $(includedir)/@PACKAGE@
+-pkglibdir = $(libdir)/@PACKAGE@
+-pkglibexecdir = $(libexecdir)/@PACKAGE@
+-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+-install_sh_DATA = $(install_sh) -c -m 644
+-install_sh_PROGRAM = $(install_sh) -c
+-install_sh_SCRIPT = $(install_sh) -c
+-INSTALL_HEADER = $(INSTALL_DATA)
+-transform = $(program_transform_name)
+-NORMAL_INSTALL = :
+-PRE_INSTALL = :
+-POST_INSTALL = :
+-NORMAL_UNINSTALL = :
+-PRE_UNINSTALL = :
+-POST_UNINSTALL = :
+-build_triplet = @build@
+-host_triplet = @host@
+-target_triplet = @target@
+-subdir = etc/init.d
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps =  \
+-      $(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
+-      $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
+-      $(top_srcdir)/config/kernel-bdev-logical-size.m4 \
+-      $(top_srcdir)/config/kernel-bdi-setup-and-register.m4 \
+-      $(top_srcdir)/config/kernel-bdi.m4 \
+-      $(top_srcdir)/config/kernel-bio-empty-barrier.m4 \
+-      $(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \
+-      $(top_srcdir)/config/kernel-bio-failfast.m4 \
+-      $(top_srcdir)/config/kernel-bio-rw-syncio.m4 \
+-      $(top_srcdir)/config/kernel-blk-end-request.m4 \
+-      $(top_srcdir)/config/kernel-blk-fetch-request.m4 \
+-      $(top_srcdir)/config/kernel-blk-requeue-request.m4 \
+-      $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
+-      $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
+-      $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
+-      $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
+-      $(top_srcdir)/config/kernel-check-disk-size-change.m4 \
+-      $(top_srcdir)/config/kernel-d-obtain-alias.m4 \
+-      $(top_srcdir)/config/kernel-evict-inode.m4 \
+-      $(top_srcdir)/config/kernel-fmode-t.m4 \
+-      $(top_srcdir)/config/kernel-fsync.m4 \
+-      $(top_srcdir)/config/kernel-get-disk-ro.m4 \
+-      $(top_srcdir)/config/kernel-insert-inode-locked.m4 \
+-      $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
+-      $(top_srcdir)/config/kernel-kobj-name-len.m4 \
+-      $(top_srcdir)/config/kernel-mount-nodev.m4 \
+-      $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
+-      $(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
+-      $(top_srcdir)/config/kernel-rq-is_sync.m4 \
+-      $(top_srcdir)/config/kernel-security-inode-init.m4 \
+-      $(top_srcdir)/config/kernel-set-nlink.m4 \
+-      $(top_srcdir)/config/kernel-shrink.m4 \
+-      $(top_srcdir)/config/kernel-truncate-setsize.m4 \
+-      $(top_srcdir)/config/kernel-xattr-handler.m4 \
+-      $(top_srcdir)/config/kernel.m4 \
+-      $(top_srcdir)/config/user-arch.m4 \
+-      $(top_srcdir)/config/user-frame-larger-than.m4 \
+-      $(top_srcdir)/config/user-ioctl.m4 \
+-      $(top_srcdir)/config/user-libblkid.m4 \
+-      $(top_srcdir)/config/user-libuuid.m4 \
+-      $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
+-      $(top_srcdir)/config/user-selinux.m4 \
+-      $(top_srcdir)/config/user-udev.m4 \
+-      $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
+-      $(top_srcdir)/config/zfs-build.m4 \
+-      $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-      $(ACLOCAL_M4)
+-mkinstalldirs = $(install_sh) -d
+-CONFIG_HEADER = $(top_builddir)/zfs_config.h
+-CONFIG_CLEAN_FILES =
+-CONFIG_CLEAN_VPATH_FILES =
+-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+-am__vpath_adj = case $$p in \
+-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+-    *) f=$$p;; \
+-  esac;
+-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+-am__install_max = 40
+-am__nobase_strip_setup = \
+-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+-am__nobase_strip = \
+-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+-am__nobase_list = $(am__nobase_strip_setup); \
+-  for p in $$list; do echo "$$p $$p"; done | \
+-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+-    if (++n[$$2] == $(am__install_max)) \
+-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+-    END { for (dir in files) print dir, files[dir] }'
+-am__base_list = \
+-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+-am__installdirs = "$(DESTDIR)$(initdir)"
+-SCRIPTS = $(init_SCRIPTS)
+-AM_V_GEN = $(am__v_GEN_$(V))
+-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+-am__v_GEN_0 = @echo "  GEN   " $@;
+-AM_V_at = $(am__v_at_$(V))
+-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+-am__v_at_0 = @
+-SOURCES =
+-DIST_SOURCES =
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-ACLOCAL = @ACLOCAL@
+-ALIEN = @ALIEN@
+-ALIEN_VERSION = @ALIEN_VERSION@
+-AMTAR = @AMTAR@
+-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+-AR = @AR@
+-AUTOCONF = @AUTOCONF@
+-AUTOHEADER = @AUTOHEADER@
+-AUTOMAKE = @AUTOMAKE@
+-AWK = @AWK@
+-CC = @CC@
+-CCAS = @CCAS@
+-CCASDEPMODE = @CCASDEPMODE@
+-CCASFLAGS = @CCASFLAGS@
+-CCDEPMODE = @CCDEPMODE@
+-CFLAGS = @CFLAGS@
+-CPP = @CPP@
+-CPPFLAGS = @CPPFLAGS@
+-CYGPATH_W = @CYGPATH_W@
+-DEBUG_CFLAGS = @DEBUG_CFLAGS@
+-DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
+-DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
+-DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
+-DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
+-DEFS = @DEFS@
+-DEPDIR = @DEPDIR@
+-DPKG = @DPKG@
+-DPKGBUILD = @DPKGBUILD@
+-DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
+-DPKG_VERSION = @DPKG_VERSION@
+-DSYMUTIL = @DSYMUTIL@
+-DUMPBIN = @DUMPBIN@
+-ECHO_C = @ECHO_C@
+-ECHO_N = @ECHO_N@
+-ECHO_T = @ECHO_T@
+-EGREP = @EGREP@
+-EXEEXT = @EXEEXT@
+-FGREP = @FGREP@
+-FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
+-GREP = @GREP@
+-HAVE_ALIEN = @HAVE_ALIEN@
+-HAVE_DPKG = @HAVE_DPKG@
+-HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
+-HAVE_MAKEPKG = @HAVE_MAKEPKG@
+-HAVE_PACMAN = @HAVE_PACMAN@
+-HAVE_RPM = @HAVE_RPM@
+-HAVE_RPMBUILD = @HAVE_RPMBUILD@
+-INSTALL = @INSTALL@
+-INSTALL_DATA = @INSTALL_DATA@
+-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+-INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+-KERNELCPPFLAGS = @KERNELCPPFLAGS@
+-KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
+-LD = @LD@
+-LDFLAGS = @LDFLAGS@
+-LIBBLKID = @LIBBLKID@
+-LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
+-LIBSELINUX = @LIBSELINUX@
+-LIBTOOL = @LIBTOOL@
+-LIBUUID = @LIBUUID@
+-LINUX = @LINUX@
+-LINUX_OBJ = @LINUX_OBJ@
+-LINUX_SYMBOLS = @LINUX_SYMBOLS@
+-LINUX_VERSION = @LINUX_VERSION@
+-LIPO = @LIPO@
+-LN_S = @LN_S@
+-LTLIBOBJS = @LTLIBOBJS@
+-MAINT = @MAINT@
+-MAKEINFO = @MAKEINFO@
+-MAKEPKG = @MAKEPKG@
+-MAKEPKG_VERSION = @MAKEPKG_VERSION@
+-MKDIR_P = @MKDIR_P@
+-NM = @NM@
+-NMEDIT = @NMEDIT@
+-NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
+-OBJDUMP = @OBJDUMP@
+-OBJEXT = @OBJEXT@
+-OTOOL = @OTOOL@
+-OTOOL64 = @OTOOL64@
+-PACKAGE = @PACKAGE@
+-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+-PACKAGE_NAME = @PACKAGE_NAME@
+-PACKAGE_STRING = @PACKAGE_STRING@
+-PACKAGE_TARNAME = @PACKAGE_TARNAME@
+-PACKAGE_VERSION = @PACKAGE_VERSION@
+-PACMAN = @PACMAN@
+-PACMAN_VERSION = @PACMAN_VERSION@
+-PATH_SEPARATOR = @PATH_SEPARATOR@
+-RANLIB = @RANLIB@
+-RPM = @RPM@
+-RPMBUILD = @RPMBUILD@
+-RPMBUILD_VERSION = @RPMBUILD_VERSION@
+-RPM_VERSION = @RPM_VERSION@
+-SED = @SED@
+-SET_MAKE = @SET_MAKE@
+-SHELL = @SHELL@
+-SPL = @SPL@
+-SPL_OBJ = @SPL_OBJ@
+-SPL_SYMBOLS = @SPL_SYMBOLS@
+-SPL_VERSION = @SPL_VERSION@
+-STRIP = @STRIP@
+-TARGET_ASM_DIR = @TARGET_ASM_DIR@
+-VENDOR = @VENDOR@
+-VERSION = @VERSION@
+-ZFS_CONFIG = @ZFS_CONFIG@
+-ZFS_META_ALIAS = @ZFS_META_ALIAS@
+-ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
+-ZFS_META_DATA = @ZFS_META_DATA@
+-ZFS_META_LICENSE = @ZFS_META_LICENSE@
+-ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
+-ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
+-ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
+-ZFS_META_NAME = @ZFS_META_NAME@
+-ZFS_META_RELEASE = @ZFS_META_RELEASE@
+-ZFS_META_VERSION = @ZFS_META_VERSION@
+-ZLIB = @ZLIB@
+-abs_builddir = @abs_builddir@
+-abs_srcdir = @abs_srcdir@
+-abs_top_builddir = @abs_top_builddir@
+-abs_top_srcdir = @abs_top_srcdir@
+-ac_ct_CC = @ac_ct_CC@
+-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+-am__include = @am__include@
+-am__leading_dot = @am__leading_dot@
+-am__quote = @am__quote@
+-am__tar = @am__tar@
+-am__untar = @am__untar@
+-bindir = @bindir@
+-build = @build@
+-build_alias = @build_alias@
+-build_cpu = @build_cpu@
+-build_os = @build_os@
+-build_vendor = @build_vendor@
+-builddir = @builddir@
+-datadir = @datadir@
+-datarootdir = @datarootdir@
+-docdir = @docdir@
+-dvidir = @dvidir@
+-exec_prefix = @exec_prefix@
+-host = @host@
+-host_alias = @host_alias@
+-host_cpu = @host_cpu@
+-host_os = @host_os@
+-host_vendor = @host_vendor@
+-htmldir = @htmldir@
+-includedir = @includedir@
+-infodir = @infodir@
+-install_sh = @install_sh@
+-libdir = @libdir@
+-libexecdir = @libexecdir@
+-localedir = @localedir@
+-localstatedir = @localstatedir@
+-lt_ECHO = @lt_ECHO@
+-mandir = @mandir@
+-mkdir_p = @mkdir_p@
+-oldincludedir = @oldincludedir@
+-pdfdir = @pdfdir@
+-prefix = @prefix@
+-program_transform_name = @program_transform_name@
+-psdir = @psdir@
+-sbindir = @sbindir@
+-sharedstatedir = @sharedstatedir@
+-srcdir = @srcdir@
+-sysconfdir = @sysconfdir@
+-target = @target@
+-target_alias = @target_alias@
+-target_cpu = @target_cpu@
+-target_os = @target_os@
+-target_vendor = @target_vendor@
+-top_build_prefix = @top_build_prefix@
+-top_builddir = @top_builddir@
+-top_srcdir = @top_srcdir@
+-udevdir = @udevdir@
+-udevruledir = @udevruledir@
+-initdir = $(DEFAULT_INIT_DIR)
+-init_SCRIPTS = zfs
+-EXTRA_DIST = \
+-      $(top_srcdir)/etc/init.d/zfs.fedora.in \
+-      $(top_srcdir)/etc/init.d/zfs.gentoo.in \
+-      $(top_srcdir)/etc/init.d/zfs.lsb.in \
+-      $(top_srcdir)/etc/init.d/zfs.lunar.in \
+-      $(top_srcdir)/etc/init.d/zfs.redhat.in \
+-      $(top_srcdir)/etc/init.d/zfs.arch.in
+-
+-all: all-am
+-
+-.SUFFIXES:
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+-      @for dep in $?; do \
+-        case '$(am__configure_deps)' in \
+-          *$$dep*) \
+-            ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+-              && { if test -f $@; then exit 0; else break; fi; }; \
+-            exit 1;; \
+-        esac; \
+-      done; \
+-      echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu etc/init.d/Makefile'; \
+-      $(am__cd) $(top_srcdir) && \
+-        $(AUTOMAKE) --gnu etc/init.d/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-      @case '$?' in \
+-        *config.status*) \
+-          cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-        *) \
+-          echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-          cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-      esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(am__aclocal_m4_deps):
+-install-initSCRIPTS: $(init_SCRIPTS)
+-      @$(NORMAL_INSTALL)
+-      test -z "$(initdir)" || $(MKDIR_P) "$(DESTDIR)$(initdir)"
+-      @list='$(init_SCRIPTS)'; test -n "$(initdir)" || list=; \
+-      for p in $$list; do \
+-        if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+-        if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
+-      done | \
+-      sed -e 'p;s,.*/,,;n' \
+-          -e 'h;s|.*|.|' \
+-          -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
+-      $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
+-        { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+-          if ($$2 == $$4) { files[d] = files[d] " " $$1; \
+-            if (++n[d] == $(am__install_max)) { \
+-              print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
+-          else { print "f", d "/" $$4, $$1 } } \
+-        END { for (d in files) print "f", d, files[d] }' | \
+-      while read type dir files; do \
+-           if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+-           test -z "$$files" || { \
+-             echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(initdir)$$dir'"; \
+-             $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(initdir)$$dir" || exit $$?; \
+-           } \
+-      ; done
+-
+-uninstall-initSCRIPTS:
+-      @$(NORMAL_UNINSTALL)
+-      @list='$(init_SCRIPTS)'; test -n "$(initdir)" || exit 0; \
+-      files=`for p in $$list; do echo "$$p"; done | \
+-             sed -e 's,.*/,,;$(transform)'`; \
+-      test -n "$$list" || exit 0; \
+-      echo " ( cd '$(DESTDIR)$(initdir)' && rm -f" $$files ")"; \
+-      cd "$(DESTDIR)$(initdir)" && rm -f $$files
+-
+-mostlyclean-libtool:
+-      -rm -f *.lo
+-
+-clean-libtool:
+-      -rm -rf .libs _libs
+-tags: TAGS
+-TAGS:
+-
+-ctags: CTAGS
+-CTAGS:
+-
+-
+-distdir: $(DISTFILES)
+-      @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+-      topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+-      list='$(DISTFILES)'; \
+-        dist_files=`for file in $$list; do echo $$file; done | \
+-        sed -e "s|^$$srcdirstrip/||;t" \
+-            -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+-      case $$dist_files in \
+-        */*) $(MKDIR_P) `echo "$$dist_files" | \
+-                         sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+-                         sort -u` ;; \
+-      esac; \
+-      for file in $$dist_files; do \
+-        if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+-        if test -d $$d/$$file; then \
+-          dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+-          if test -d "$(distdir)/$$file"; then \
+-            find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+-          fi; \
+-          if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+-            cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+-            find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+-          fi; \
+-          cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+-        else \
+-          test -f "$(distdir)/$$file" \
+-          || cp -p $$d/$$file "$(distdir)/$$file" \
+-          || exit 1; \
+-        fi; \
+-      done
+-check-am: all-am
+-check: check-am
+-all-am: Makefile $(SCRIPTS)
+-installdirs:
+-      for dir in "$(DESTDIR)$(initdir)"; do \
+-        test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+-      done
+-install: install-am
+-install-exec: install-exec-am
+-install-data: install-data-am
+-uninstall: uninstall-am
+-
+-install-am: all-am
+-      @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-
+-installcheck: installcheck-am
+-install-strip:
+-      $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+-        install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+-        `test -z '$(STRIP)' || \
+-          echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+-mostlyclean-generic:
+-
+-clean-generic:
+-
+-distclean-generic:
+-      -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+-      -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+-
+-maintainer-clean-generic:
+-      @echo "This command is intended for maintainers to use"
+-      @echo "it deletes files that may require special tools to rebuild."
+-clean: clean-am
+-
+-clean-am: clean-generic clean-libtool mostlyclean-am
+-
+-distclean: distclean-am
+-      -rm -f Makefile
+-distclean-am: clean-am distclean-generic distclean-local
+-
+-dvi: dvi-am
+-
+-dvi-am:
+-
+-html: html-am
+-
+-html-am:
+-
+-info: info-am
+-
+-info-am:
+-
+-install-data-am: install-initSCRIPTS
+-
+-install-dvi: install-dvi-am
+-
+-install-dvi-am:
+-
+-install-exec-am:
+-
+-install-html: install-html-am
+-
+-install-html-am:
+-
+-install-info: install-info-am
+-
+-install-info-am:
+-
+-install-man:
+-
+-install-pdf: install-pdf-am
+-
+-install-pdf-am:
+-
+-install-ps: install-ps-am
+-
+-install-ps-am:
+-
+-installcheck-am:
+-
+-maintainer-clean: maintainer-clean-am
+-      -rm -f Makefile
+-maintainer-clean-am: distclean-am maintainer-clean-generic
+-
+-mostlyclean: mostlyclean-am
+-
+-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+-
+-pdf: pdf-am
+-
+-pdf-am:
+-
+-ps: ps-am
+-
+-ps-am:
+-
+-uninstall-am: uninstall-initSCRIPTS
+-
+-.MAKE: install-am install-strip
+-
+-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+-      distclean distclean-generic distclean-libtool distclean-local \
+-      distdir dvi dvi-am html html-am info info-am install \
+-      install-am install-data install-data-am install-dvi \
+-      install-dvi-am install-exec install-exec-am install-html \
+-      install-html-am install-info install-info-am \
+-      install-initSCRIPTS install-man install-pdf install-pdf-am \
+-      install-ps install-ps-am install-strip installcheck \
+-      installcheck-am installdirs maintainer-clean \
+-      maintainer-clean-generic mostlyclean mostlyclean-generic \
+-      mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
+-      uninstall-initSCRIPTS
+-
+-
+-$(init_SCRIPTS):
+-      -$(SED) -e 's,@bindir\@,$(bindir),g' \
+-              -e 's,@sbindir\@,$(sbindir),g' \
+-              -e 's,@udevdir\@,$(udevdir),g' \
+-              -e 's,@udevruledir\@,$(udevruledir),g' \
+-              -e 's,@sysconfdir\@,$(sysconfdir),g' \
+-              -e 's,@initdir\@,$(initdir),g' \
+-              '$@.$(DEFAULT_INIT_SCRIPT).in' >'$@'
+-
+-distclean-local::
+-      -$(RM) $(init_SCRIPTS)
+-
+-# Tell versions [3.59,3.63) of GNU make to not export all variables.
+-# Otherwise a system limit (for SysV at least) may be exceeded.
+-.NOEXPORT:
+diff --git a/etc/init.d/zfs.arch.in b/etc/init.d/zfs.arch.in
+deleted file mode 100644
+index de2ea8a..0000000
+--- a/etc/init.d/zfs.arch.in
++++ /dev/null
+@@ -1,62 +0,0 @@
+-#!/bin/bash
+-
+-. /etc/rc.conf
+-. /etc/rc.d/functions
+-
+-ZFS="@sbindir@/zfs"
+-ZPOOL="@sbindir@/zpool"
+-ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
+-
+-case "$1" in
+-  start)
+-    stat_busy "Starting zfs"
+-
+-    if [ ! -c /dev/zfs ]; then
+-      modprobe zfs
+-      if [ $? -ne 0 ]; then
+-        stat_fail
+-        exit 1
+-      fi
+-    fi
+-
+-    # Import ZFS pools (via cache file)
+-    if [ -f $ZPOOL_CACHE ]; then
+-      $ZPOOL import -c $ZPOOL_CACHE -aN 2>/dev/null
+-      if [ $? -ne 0 ]; then
+-        stat_fail
+-        exit 1
+-      fi
+-    fi
+-
+-    # Mount ZFS filesystems
+-    $ZFS mount -a
+-    if [ $? -ne 0 ]; then
+-        stat_fail
+-        exit 1
+-    fi
+-
+-    # Export ZFS flesystems
+-    $ZFS share -a
+-    if [ $? -ne 0 ]; then
+-        stat_fail
+-        exit 1
+-    fi
+-
+-    add_daemon zfs
+-    stat_done
+-    ;;
+-  stop)
+-    stat_busy "Stopping zfs"
+-    $ZFS umount -a
+-    rm_daemon zfs
+-    stat_done
+-    ;;
+-  restart)
+-    $0 stop
+-    $0 start
+-    ;;
+-  *)
+-    echo "usage: $0 {start|stop|restart}"
+-esac
+-
+-exit 0
+diff --git a/etc/init.d/zfs.fedora.in b/etc/init.d/zfs.fedora.in
+deleted file mode 100644
+index 04f2077..0000000
+--- a/etc/init.d/zfs.fedora.in
++++ /dev/null
+@@ -1,244 +0,0 @@
+-#!/bin/bash
+-#
+-# zfs           This script will mount/umount the zfs filesystems.
+-#
+-# chkconfig:    2345 01 99
+-# description:  This script will mount/umount the zfs filesystems during
+-#               system boot/shutdown.  Configuration of which filesystems
+-#               should be mounted is handled by the zfs 'mountpoint' and
+-#               'canmount' properties.  See the zfs(8) man page for details.
+-#               It is also responsible for all userspace zfs services.
+-#
+-### BEGIN INIT INFO
+-# Provides: zfs
+-# Required-Start:
+-# Required-Stop:
+-# Should-Start:
+-# Should-Stop:
+-# Default-Start: 2 3 4 5
+-# Default-Stop: 1
+-# Short-Description: Mount/umount the zfs filesystems
+-# Description: ZFS is an advanced filesystem designed to simplify managing
+-#              and protecting your data.  This service mounts the ZFS
+-#              filesystems and starts all related zfs services.
+-### END INIT INFO
+-
+-export PATH=/usr/local/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
+-
+-# Source function library & LSB routines
+-. /etc/rc.d/init.d/functions
+-
+-# script variables
+-RETVAL=0
+-ZFS="@sbindir@/zfs"
+-ZPOOL="@sbindir@/zpool"
+-ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
+-servicename=zfs
+-LOCKFILE=/var/lock/subsys/$servicename
+-
+-# functions
+-zfs_installed() {
+-      modinfo zfs > /dev/null 2>&1 || return 5
+-      $ZPOOL  > /dev/null 2>&1
+-      [ $? == 127 ] && return 5
+-      $ZFS    > /dev/null 2>&1
+-      [ $? == 127 ] && return 5
+-      return 0
+-}
+-
+-reregister_mounts() {
+-      cat /etc/mtab | while read -r fs mntpnt fstype opts rest ; do
+-              fs=`printf '%b\n' "$fs"`
+-              mntpnt=`printf '%b\n' "$mntpnt"`
+-              if [ "$fstype" == "zfs" ] ; then
+-                      if [ "$mntpnt" == "/" ] ; then
+-                              mount -f -o zfsutil -t zfs --move / /removethismountpointhoweverpossible
+-                              umount --fake /removethismountpointhoweverpossible
+-                      else
+-                              umount --fake "$mntpnt"
+-                      fi
+-              elif echo "$fs" | grep -q "^/dev/zd" ; then
+-                      if [ "$mntpnt" == "/" ] ; then
+-                              mount -f -t "$fstype" --move / /removethismountpointhoweverpossible
+-                              umount --fake /removethismountpointhoweverpossible
+-                      else
+-                              umount --fake "$mntpnt"
+-                      fi
+-              fi
+-      done
+-      cat /proc/mounts | while read -r fs mntpnt fstype opts rest ; do
+-              fs=`printf '%b\n' "$fs"`
+-              mntpnt=`printf '%b\n' "$mntpnt"`
+-              if [ "$fstype" == "zfs" ] ; then
+-                      mount -f -t zfs -o zfsutil "$fs" "$mntpnt"
+-              elif echo "$fs" | grep -q "^/dev/zd" ; then
+-                      mount -f -t "$fstype" -o "$opts" "$fs" "$mntpnt"
+-              fi
+-      done
+-}
+-
+-# i need a bash guru to simplify this, since this is copy and paste, but donno how
+-# to correctly dereference variable names in bash, or how to do this right
+-
+-declare -A MTAB
+-declare -A FSTAB
+-
+-# first parameter is a regular expression that filters mtab
+-read_mtab() {
+-        for fs in "${!MTAB[@]}" ; do unset MTAB["$fs"] ; done
+-        while read -r fs mntpnt fstype opts blah ; do
+-                fs=`printf '%b\n' "$fs"`
+-                MTAB["$fs"]=$mntpnt
+-        done < <(grep "$1" /etc/mtab)
+-}
+-
+-in_mtab() {
+-        [ "${MTAB[$1]}" != "" ]
+-        return $?
+-}
+-
+-# first parameter is a regular expression that filters fstab
+-read_fstab() {
+-        for fs in "${!FSTAB[@]}" ; do unset FSTAB["$fs"] ; done
+-        while read -r fs mntpnt fstype opts blah ; do
+-                fs=`printf '%b\n' "$fs"`
+-                FSTAB["$fs"]=$mntpnt
+-        done < <(grep "$1" /etc/fstab)
+-}
+-
+-in_fstab() {
+-        [ "${FSTAB[$1]}" != "" ]
+-        return $?
+-}
+-
+-start()
+-{
+-      if [ -f "$LOCKFILE" ] ; then return 0 ; fi
+-
+-      # check if ZFS is installed.  If not, comply to FC standards and bail
+-      zfs_installed || {
+-              action $"Checking if ZFS is installed: not installed" /bin/false
+-              return 5
+-      }
+-
+-        # Requires selinux policy which has not been written.
+-        if [ -r "/selinux/enforce" ] &&
+-           [ "$(cat /selinux/enforce)" = "1" ]; then
+-                action $"SELinux ZFS policy required: " /bin/false || return 6
+-        fi
+-
+-      # Delay until all required block devices are present.
+-      udevadm settle
+-
+-      # load kernel module infrastructure
+-      if ! grep -q zfs /proc/modules ; then
+-              action $"Loading kernel ZFS infrastructure: " modprobe zfs || return 5
+-      fi
+-
+-      # fix mtab to include already-mounted fs filesystems, in case there are any
+-      # we ONLY do this if mtab does not point to /proc/mounts
+-      # which is the case in some systems (systemd may bring that soon)
+-      if ! readlink /etc/mtab | grep -q /proc ; then
+-              if grep -qE "(^/dev/zd| zfs )" /proc/mounts ; then
+-                      action $"Registering already-mounted ZFS filesystems and volumes: " reregister_mounts || return 150
+-              fi
+-      fi
+-
+-        if [ -f $ZPOOL_CACHE ] ; then
+-
+-              echo -n $"Importing ZFS pools not yet imported: "
+-              $ZPOOL import -c $ZPOOL_CACHE -aN || true # stupid zpool will fail if all pools are already imported
+-              RETVAL=$?
+-              if [ $RETVAL -ne 0 ]; then
+-                      failure "Importing ZFS pools not yet imported: "
+-                      return 151
+-              fi
+-              success "Importing ZFS pools not yet imported: "
+-
+-      fi
+-
+-      action $"Mounting ZFS filesystems not yet mounted: " $ZFS mount -a || return 152
+-
+-      action $"Exporting ZFS filesystems: " $ZFS share -a || return 153
+-
+-      read_mtab  "^/dev/zd"
+-      read_fstab "^/dev/zd"
+-
+-      template=$"Mounting volume %s registered in fstab: "
+-      for volume in "${!FSTAB[@]}" ; do
+-              if in_mtab "$volume" ; then continue ; fi
+-              string=`printf "$template" "$volume"`
+-              action "$string" mount "$volume"
+-      done
+-
+-      touch "$LOCKFILE"
+-}
+-
+-stop()
+-{
+-      if [ ! -f "$LOCKFILE" ] ; then return 0 ; fi
+-
+-      # check if ZFS is installed.  If not, comply to FC standards and bail
+-      zfs_installed || {
+-              action $"Checking if ZFS is installed: not installed" /bin/false
+-              return 5
+-      }
+-
+-      # the poweroff of the system takes care of this
+-      # but it never unmounts the root filesystem itself
+-      # shit
+-
+-      action $"Syncing ZFS filesystems: " sync
+-           # about the only thing we can do, and then we
+-           # hope that the umount process will succeed
+-           # unfortunately the umount process does not dismount
+-           # the root file system, there ought to be some way
+-           # we can tell zfs to just flush anything in memory
+-           # when a request to remount,ro comes in
+-
+-      #echo -n $"Unmounting ZFS filesystems: "
+-      #$ZFS umount -a
+-      #RETVAL=$?
+-      #if [ $RETVAL -ne 0 ]; then
+-      #       failure
+-
+-      #       return 8
+-      #fi
+-      #success
+-
+-      rm -f "$LOCKFILE"
+-}
+-
+-# See how we are called
+-case "$1" in
+-      start)
+-              start
+-              RETVAL=$?
+-              ;;
+-      stop)
+-              stop
+-              RETVAL=$?
+-              ;;
+-      status)
+-              lsmod | grep -q zfs || RETVAL=3
+-              $ZPOOL status && echo && $ZFS list || {
+-                      [ -f "$LOCKFILE" ] && RETVAL=2 || RETVAL=4
+-              }
+-              ;;
+-      restart)
+-              stop
+-              start
+-              ;;
+-      condrestart)
+-              if [ -f "$LOCKFILE" ] ; then
+-                      stop
+-                      start
+-              fi
+-              ;;
+-      *)
+-              echo $"Usage: $0 {start|stop|status|restart|condrestart}"
+-              RETVAL=3
+-              ;;
+-esac
+-
+-exit $RETVAL
+diff --git a/etc/init.d/zfs.gentoo.in b/etc/init.d/zfs.gentoo.in
+deleted file mode 100644
+index 767aba8..0000000
+--- a/etc/init.d/zfs.gentoo.in
++++ /dev/null
+@@ -1,111 +0,0 @@
+-#!/sbin/runscript
+-# Copyright 1999-2011 Gentoo Foundation
+-# Distributed under the terms of the GNU General Public License v2
+-# $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs/files/zfs,v 0.9 2011/04/30 10:13:43 devsk Exp $
+-
+-depend()
+-{
+-      # bootmisc will log to /var which may be a different zfs than root.
+-      before net bootmisc
+-      after udev localmount
+-      keyword -lxc -openvz -prefix -vserver
+-}
+-
+-ZFS="@sbindir@/zfs"
+-ZPOOL="@sbindir@/zpool"
+-ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
+-ZFS_MODULE=zfs
+-
+-checksystem() {
+-      if [ ! -c /dev/zfs ]; then
+-              einfo "Checking if ZFS modules present"
+-              if [ "x$(modprobe -l  $ZFS_MODULE | grep $ZFS_MODULE)" == "x" ]; then
+-                      eerror "$ZFS_MODULE not found. Is the ZFS package installed?"
+-                      return 1
+-              fi
+-      fi
+-      einfo "Checking if zfs userspace tools present"
+-              if [ ! -x $ZPOOL ]; then
+-                      eerror "$ZPOOL binary not found."
+-                      return 1
+-              fi
+-              if [ ! -x $ZFS ]; then
+-                      eerror "$ZFS binary not found."
+-                      return 1
+-              fi
+-      return 0
+-}
+-
+-start() {
+-      ebegin "Starting ZFS"
+-      checksystem || return 1
+-
+-      # Delay until all required block devices are present.
+-      udevadm settle
+-
+-      if [ ! -c /dev/zfs ]; then
+-              modprobe $ZFS_MODULE
+-              rv=$?
+-              if [ $rv -ne 0 ]; then
+-                      eerror "Failed to load the $ZFS_MODULE module, check 'dmesg|tail'."
+-                      eend $rv
+-                      return $rv
+-              fi
+-      fi
+-
+-      # Import all pools described by the cache file, and then mount
+-      # all filesystem based on their properties.
+-      if [ -f $ZPOOL_CACHE ]; then
+-              einfo "Importing ZFS pools"
+-              # as per fedora script, import can fail if all pools are already imported
+-              # The check for $rv makes no sense...but someday, it will work right.
+-              $ZPOOL import -c $ZPOOL_CACHE -aN 2>/dev/null || true
+-              rv=$?
+-              if [ $rv -ne 0 ]; then
+-                      eerror "Failed to import not-yet imported pools."
+-                      eend $rv
+-                      return $rv
+-              fi
+-      fi
+-
+-      einfo "Mounting ZFS filesystems"
+-      $ZFS mount -a
+-      rv=$?
+-      if [ $rv -ne 0 ]; then
+-              eerror "Failed to mount ZFS filesystems."
+-              eend $rv
+-              return $rv
+-      fi
+-
+-      einfo "Exporting ZFS filesystems"
+-      $ZFS share -a
+-      rv=$?
+-      if [ $rv -ne 0 ]; then
+-              eerror "Failed to export ZFS filesystems."
+-              eend $rv
+-              return $rv
+-      fi
+-
+-      eend 0
+-      return 0
+-}
+-
+-stop()
+-{
+-      ebegin "Unmounting ZFS filesystems"
+-      $ZFS umount -a
+-      rv=$?
+-      if [ $rv -ne 0 ]; then
+-              einfo "Some ZFS filesystems not unmounted"
+-      fi
+-
+-      # Don't fail if we couldn't umount everything.  /usr might be in use.
+-      eend 0
+-      return 0
+-}
+-
+-status()
+-{
+-      # show pool status and list
+-      $ZPOOL status && echo && $ZPOOL list
+-}
+diff --git a/etc/init.d/zfs.lsb.in b/etc/init.d/zfs.lsb.in
+deleted file mode 100644
+index 3d04206..0000000
+--- a/etc/init.d/zfs.lsb.in
++++ /dev/null
+@@ -1,130 +0,0 @@
+-#!/bin/bash
+-#
+-# zfs           This script will mount/umount the zfs filesystems.
+-#
+-# chkconfig:    2345 01 99
+-# description:  This script will mount/umount the zfs filesystems during
+-#               system boot/shutdown.  Configuration of which filesystems
+-#               should be mounted is handled by the zfs 'mountpoint' and
+-#               'canmount' properties.  See the zfs(8) man page for details.
+-#               It is also responsible for all userspace zfs services.
+-#
+-### BEGIN INIT INFO
+-# Provides: zfs
+-# Required-Start: $local_fs
+-# Required-Stop: $local_fs
+-# Default-Start:     2 3 4 5
+-# Default-Stop:      0 1 6
+-# Should-Stop:
+-# Short-Description: Mount/umount the zfs filesystems
+-# Description: ZFS is an advanced filesystem designed to simplify managing
+-#              and protecting your data.  This service mounts the ZFS
+-#              filesystems and starts all related zfs services.
+-### END INIT INFO
+-
+-# Source function library.
+-. /lib/lsb/init-functions
+-
+-LOCKFILE=/var/lock/zfs
+-ZFS="@sbindir@/zfs"
+-ZPOOL="@sbindir@/zpool"
+-ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
+-
+-# Source zfs configuration.
+-[ -r '/etc/default/zfs' ] &&  . /etc/default/zfs
+-
+-[ -x "$ZPOOL" ] || exit 1
+-[ -x "$ZFS" ] || exit 2
+-
+-start()
+-{
+-      [ -f "$LOCKFILE" ] && return 3
+-
+-      # Requires selinux policy which has not been written.
+-      if [ -r "/selinux/enforce" ] &&
+-         [ "$(cat /selinux/enforce)" = "1" ]; then
+-
+-              log_failure_msg "SELinux ZFS policy required"
+-              return 4
+-      fi
+-
+-      # Delay until all required block devices are present.
+-      udevadm settle
+-
+-      # Load the zfs module stack
+-      /sbin/modprobe zfs
+-
+-      # Ensure / exists in /etc/mtab, if not update mtab accordingly.
+-      # This should be handled by rc.sysinit but lets be paranoid.
+-      awk '$2 == "/" { exit 1 }' /etc/mtab
+-      RETVAL=$?
+-      if [ "$RETVAL" -eq 0 ]; then
+-              /bin/mount -f /
+-      fi
+-
+-      # Import all pools described by the cache file, and then mount
+-      # all filesystem based on their properties.
+-      if [ -f "$ZPOOL_CACHE" ] ; then
+-              log_begin_msg "Importing ZFS pools"
+-              "$ZPOOL" import -c "$ZPOOL_CACHE" -aN 2>/dev/null
+-              log_end_msg $?
+-
+-              log_begin_msg "Mounting ZFS filesystems"
+-              "$ZFS" mount -a
+-              log_end_msg $?
+-
+-              log_begin_msg "Exporting ZFS filesystems"
+-              "$ZFS" share -a
+-              log_end_msg $?
+-      fi
+-
+-      touch "$LOCKFILE"
+-}
+-
+-stop()
+-{
+-      [ ! -f "$LOCKFILE" ] && return 3
+-
+-      log_begin_msg "Unmounting ZFS filesystems"
+-      "$ZFS" umount -a
+-      log_end_msg $?
+-
+-      rm -f "$LOCKFILE"
+-}
+-
+-status()
+-{
+-      [ ! -f "$LOCKFILE" ] && return 3
+-
+-      "$ZPOOL" status && echo "" && "$ZPOOL" list
+-}
+-
+-case "$1" in
+-      start)
+-              start
+-              RETVAL=$?
+-              ;;
+-      stop)
+-              stop
+-              RETVAL=$?
+-              ;;
+-      status)
+-              status
+-              RETVAL=$?
+-              ;;
+-      restart)
+-              stop
+-              start
+-              ;;
+-      condrestart)
+-              if [ -f "$LOCKFILE" ]; then
+-                      stop
+-                      start
+-              fi
+-              ;;
+-      *)
+-              echo $"Usage: $0 {start|stop|status|restart|condrestart}"
+-              ;;
+-esac
+-
+-exit $RETVAL
+diff --git a/etc/init.d/zfs.lunar.in b/etc/init.d/zfs.lunar.in
+deleted file mode 100644
+index 97384dc..0000000
+--- a/etc/init.d/zfs.lunar.in
++++ /dev/null
+@@ -1,95 +0,0 @@
+-#!/bin/bash
+-#
+-# zfs           This shell script takes care of starting (mount) and
+-#               stopping (umount) zfs shares.
+-#
+-# chkconfig: 35 60 40
+-# description: ZFS is a filesystem developed by Sun, ZFS is a
+-#              combined file system and logical volume manager
+-#              designed by Sun Microsystems. Made available to Linux
+-#              using SPL (Solaris Porting Layer) by zfsonlinux.org.
+-# probe: true
+-
+-ZFS="@sbindir@/zfs"
+-ZPOOL="@sbindir@/zpool"
+-ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
+-
+-case $1 in
+-  start)  echo "$1ing ZFS filesystems"
+-
+-    # Delay until all required block devices are present.
+-    udevadm settle
+-
+-    if ! grep "zfs" /proc/modules > /dev/null; then
+-      echo "ZFS kernel module not loaded yet; loading...";
+-      if ! modprobe zfs; then
+-        echo "Failed to load ZFS kernel module...";
+-        exit 0;
+-      fi
+-    fi
+-
+-    if ! [ `uname -m` == "x86_64" ]; then
+-      echo "Warning: You're not running 64bit. Currently native zfs in";
+-      echo "         linux is only supported and tested on 64bit.";
+-      # should we break here? People doing this should know what they
+-      # do, thus i'm not breaking here.
+-    fi
+-
+-    # mount the filesystems
+-    while IFS= read -r -d $'\n' dev; do
+-      mdev=$(echo "$dev" | awk '{ print $1; }')
+-      echo -n "mounting $mdev..."
+-      if $ZFS mount $mdev; then
+-        echo -e "done";
+-      else
+-        echo -e "failed";
+-      fi
+-    done < <($ZFS list -H);
+-
+-    # export the filesystems
+-    echo -n "exporting ZFS filesystems..."
+-    if $ZFS share -a; then
+-      echo -e "done";
+-    else
+-      echo -e "failed";
+-    fi
+-
+-
+-  ;;
+-
+-  stop)  echo "$1ping ZFS filesystems"
+-
+-    if grep "zfs" /proc/modules > /dev/null; then
+-      # module is loaded, so we can try to umount filesystems
+-      while IFS= read -r -d $'\n' dev; do
+-        mdev=$(echo "$dev" | awk '{ print $1 }');
+-        echo -n "umounting $mdev...";
+-        if $ZFS umount $mdev; then
+-          echo -e "done";
+-        else
+-          echo -e "failed";
+-        fi
+-        # the next line is, because i have to reverse the
+-        # output, otherwise it wouldn't work as it should
+-      done < <($ZFS list -H | tac);
+-
+-      # and finally let's rmmod the module
+-      rmmod zfs
+-
+-
+-    else
+-      # module not loaded, no need to umount anything
+-      exit 0
+-    fi
+-
+-  ;;
+-
+-  restart) echo "$1ing ZFS filesystems"
+-    $0 stop
+-    $0 start
+-  ;;
+-
+-  *)  echo "Usage: $0 {start|stop|restart}"
+-  ;;
+-
+-esac
+diff --git a/etc/init.d/zfs.redhat.in b/etc/init.d/zfs.redhat.in
+deleted file mode 100644
+index ae797c1..0000000
+--- a/etc/init.d/zfs.redhat.in
++++ /dev/null
+@@ -1,176 +0,0 @@
+-#!/bin/bash
+-#
+-# zfs           This script will mount/umount the zfs filesystems.
+-#
+-# chkconfig:    2345 01 99
+-# description:  This script will mount/umount the zfs filesystems during
+-#               system boot/shutdown.  Configuration of which filesystems
+-#               should be mounted is handled by the zfs 'mountpoint' and
+-#               'canmount' properties.  See the zfs(8) man page for details.
+-#               It is also responsible for all userspace zfs services.
+-#
+-### BEGIN INIT INFO
+-# Provides: zfs
+-# Required-Start:
+-# Required-Stop:
+-# Should-Start:
+-# Should-Stop:
+-# Default-Start: 2 3 4 5
+-# Default-Stop: 1
+-# Short-Description: Mount/umount the zfs filesystems
+-# Description: ZFS is an advanced filesystem designed to simplify managing
+-#              and protecting your data.  This service mounts the ZFS
+-#              filesystems and starts all related zfs services.
+-### END INIT INFO
+-
+-export PATH=/usr/local/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
+-
+-# Source function library & LSB routines
+-. /etc/rc.d/init.d/functions
+-
+-# script variables
+-RETVAL=0
+-ZFS="@sbindir@/zfs"
+-ZPOOL="@sbindir@/zpool"
+-ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
+-servicename=zfs
+-LOCKFILE=/var/lock/subsys/$servicename
+-
+-# functions
+-zfs_installed() {
+-      modinfo zfs > /dev/null 2>&1 || return 5
+-      $ZPOOL  > /dev/null 2>&1
+-      [ $? == 127 ] && return 5
+-      $ZFS    > /dev/null 2>&1
+-      [ $? == 127 ] && return 5
+-      return 0
+-}
+-
+-# i need a bash guru to simplify this, since this is copy and paste, but donno how
+-# to correctly dereference variable names in bash, or how to do this right
+-
+-# first parameter is a regular expression that filters fstab
+-read_fstab() {
+-        unset FSTAB
+-      n=0
+-        while read -r fs mntpnt fstype opts blah ; do
+-                fs=`printf '%b\n' "$fs"`
+-                FSTAB[$n]=$fs
+-              let n++
+-        done < <(egrep "$1" /etc/fstab)
+-}
+-
+-start()
+-{
+-      # Disable lockfile check
+-      # if [ -f "$LOCKFILE" ] ; then return 0 ; fi
+-
+-      # check if ZFS is installed.  If not, comply to FC standards and bail
+-      zfs_installed || {
+-              action $"Checking if ZFS is installed: not installed" /bin/false
+-              return 5
+-      }
+-
+-        # Requires selinux policy which has not been written.
+-        if [ -r "/selinux/enforce" ] &&
+-           [ "$(cat /selinux/enforce)" = "1" ]; then
+-                action $"SELinux ZFS policy required: " /bin/false || return 6
+-        fi
+-
+-      # Delay until all required block devices are present.
+-      if [ -x /sbin/udevadm ]; then
+-              /sbin/udevadm settle
+-      elif [ -x /sbin/udevsettle ]; then
+-              /sbin/udevsettle
+-      fi
+-
+-      # load kernel module infrastructure
+-      if ! grep -q zfs /proc/modules ; then
+-              action $"Loading kernel ZFS infrastructure: " modprobe zfs || return 5
+-      fi
+-      sleep 1
+-
+-      action $"Mounting automounted ZFS filesystems: " $ZFS mount -a || return 152
+-
+-      action $"Exporting ZFS filesystems: " $ZFS share -a || return 153
+-
+-      # Read fstab, try to mount zvols ignoring error
+-      read_fstab "^/dev/(zd|zvol)"
+-      template=$"Mounting volume %s registered in fstab: "
+-      for volume in "${FSTAB[@]}" ; do
+-              string=`printf "$template" "$volume"`
+-              action "$string" mount "$volume" 2>/dev/null || /bin/true
+-      done
+-
+-      # touch "$LOCKFILE"
+-}
+-
+-stop()
+-{
+-      # Disable lockfile check
+-      # if [ ! -f "$LOCKFILE" ] ; then return 0 ; fi
+-
+-      # check if ZFS is installed.  If not, comply to FC standards and bail
+-      zfs_installed || {
+-              action $"Checking if ZFS is installed: not installed" /bin/false
+-              return 5
+-      }
+-
+-      # the poweroff of the system takes care of this
+-      # but it never unmounts the root filesystem itself
+-      # shit
+-
+-      action $"Syncing ZFS filesystems: " sync
+-           # about the only thing we can do, and then we
+-           # hope that the umount process will succeed
+-           # unfortunately the umount process does not dismount
+-           # the root file system, there ought to be some way
+-           # we can tell zfs to just flush anything in memory
+-           # when a request to remount,ro comes in
+-
+-      #echo -n $"Unmounting ZFS filesystems: "
+-      #$ZFS umount -a
+-      #RETVAL=$?
+-      #if [ $RETVAL -ne 0 ]; then
+-      #       failure
+-
+-      #       return 8
+-      #fi
+-      #success
+-
+-      rm -f "$LOCKFILE"
+-}
+-
+-# See how we are called
+-case "$1" in
+-      start)
+-              start
+-              RETVAL=$?
+-              ;;
+-      stop)
+-              stop
+-              RETVAL=$?
+-              ;;
+-      status)
+-              lsmod | grep -q zfs || RETVAL=3
+-              $ZPOOL status && echo && $ZFS list || {
+-                      [ -f "$LOCKFILE" ] && RETVAL=2 || RETVAL=4
+-              }
+-              ;;
+-      restart)
+-              stop
+-              start
+-              ;;
+-      condrestart)
+-              if [ -f "$LOCKFILE" ] ; then
+-                      stop
+-                      start
+-              fi
+-              ;;
+-      *)
+-              echo $"Usage: $0 {start|stop|status|restart|condrestart}"
+-              RETVAL=3
+-              ;;
+-esac
+-
+-exit $RETVAL
+-- 
+1.7.5.4
+
diff --git a/debian/patches/0004-Remove-the-upstream-dracut-component.patch b/debian/patches/0004-Remove-the-upstream-dracut-component.patch
new file mode 100644 (file)
index 0000000..45412e7
--- /dev/null
@@ -0,0 +1,1710 @@
+From 5f451a636a56fdec948e0541032adfd37ecd667b Mon Sep 17 00:00:00 2001
+From: Darik Horn <dajhorn@vanadac.com>
+Date: Tue, 17 Jan 2012 20:27:32 -0600
+Subject: [PATCH 4/6] Remove the upstream dracut component.
+
+The dracut/ component broke deb systems when it first added to the
+upstream ZoL repository, had a near-zero download count when it was
+fixed, seems to be unmaintained, and is incompatible with the
+dracut-005 package that is currently published in Debian and Ubuntu.
+---
+ Makefile.am                     |    2 +-
+ configure.ac                    |    2 -
+ dracut/90zfs/.gitignore         |    3 -
+ dracut/90zfs/Makefile.am        |   21 --
+ dracut/90zfs/Makefile.in        |  549 --------------------------------
+ dracut/90zfs/module-setup.sh.in |   55 ----
+ dracut/90zfs/mount-zfs.sh.in    |   71 ----
+ dracut/90zfs/parse-zfs.sh.in    |   58 ----
+ dracut/Makefile.am              |    3 -
+ dracut/Makefile.in              |  669 ---------------------------------------
+ dracut/README.dracut.markdown   |  166 ----------
+ 11 files changed, 1 insertions(+), 1598 deletions(-)
+ delete mode 100644 dracut/90zfs/.gitignore
+ delete mode 100644 dracut/90zfs/Makefile.am
+ delete mode 100644 dracut/90zfs/Makefile.in
+ delete mode 100755 dracut/90zfs/module-setup.sh.in
+ delete mode 100755 dracut/90zfs/mount-zfs.sh.in
+ delete mode 100755 dracut/90zfs/parse-zfs.sh.in
+ delete mode 100644 dracut/Makefile.am
+ delete mode 100644 dracut/Makefile.in
+ delete mode 100644 dracut/README.dracut.markdown
+
+diff --git a/Makefile.am b/Makefile.am
+index 3ab5cb3..b8f64ba 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -4,7 +4,7 @@ include $(top_srcdir)/config/tgz.am
+ include $(top_srcdir)/config/arch.am
+ if CONFIG_USER
+-USER_DIR = dracut udev etc man scripts lib cmd
++USER_DIR = udev etc man scripts lib cmd
+ endif
+ if CONFIG_KERNEL
+ KERNEL_DIR = module
+diff --git a/configure.ac b/configure.ac
+index 14aed03..46e372f 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -55,8 +55,6 @@ ZFS_AC_DEBUG
+ AC_CONFIG_FILES([ 
+       Makefile
+-      dracut/Makefile
+-      dracut/90zfs/Makefile
+       udev/Makefile
+       udev/rules.d/Makefile
+       etc/Makefile
+diff --git a/dracut/90zfs/.gitignore b/dracut/90zfs/.gitignore
+deleted file mode 100644
+index 6f4a5ae..0000000
+--- a/dracut/90zfs/.gitignore
++++ /dev/null
+@@ -1,3 +0,0 @@
+-module-setup.sh
+-mount-zfs.sh
+-parse-zfs.sh
+diff --git a/dracut/90zfs/Makefile.am b/dracut/90zfs/Makefile.am
+deleted file mode 100644
+index 4112061..0000000
+--- a/dracut/90zfs/Makefile.am
++++ /dev/null
+@@ -1,21 +0,0 @@
+-pkgdracutdir = $(datadir)/dracut/modules.d/90zfs
+-pkgdracut_SCRIPTS = \
+-      $(top_srcdir)/dracut/90zfs/module-setup.sh \
+-      $(top_srcdir)/dracut/90zfs/mount-zfs.sh \
+-      $(top_srcdir)/dracut/90zfs/parse-zfs.sh
+-
+-EXTRA_DIST = \
+-      $(top_srcdir)/dracut/90zfs/module-setup.sh.in \
+-      $(top_srcdir)/dracut/90zfs/mount-zfs.sh.in \
+-      $(top_srcdir)/dracut/90zfs/parse-zfs.sh.in
+-
+-$(pkgdracut_SCRIPTS):
+-      -$(SED) -e 's,@bindir\@,$(bindir),g' \
+-              -e 's,@sbindir\@,$(sbindir),g' \
+-              -e 's,@udevdir\@,$(udevdir),g' \
+-              -e 's,@udevruledir\@,$(udevruledir),g' \
+-              -e 's,@sysconfdir\@,$(sysconfdir),g' \
+-              '$@.in' >'$@'
+-
+-distclean-local::
+-      -$(RM) $(pkgdracut_SCRIPTS)
+diff --git a/dracut/90zfs/Makefile.in b/dracut/90zfs/Makefile.in
+deleted file mode 100644
+index ca1d860..0000000
+--- a/dracut/90zfs/Makefile.in
++++ /dev/null
+@@ -1,549 +0,0 @@
+-# Makefile.in generated by automake 1.11.1 from Makefile.am.
+-# @configure_input@
+-
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+-# Inc.
+-# This Makefile.in is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
+-
+-# This program is distributed in the hope that it will be useful,
+-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+-# PARTICULAR PURPOSE.
+-
+-@SET_MAKE@
+-
+-VPATH = @srcdir@
+-pkgdatadir = $(datadir)/@PACKAGE@
+-pkgincludedir = $(includedir)/@PACKAGE@
+-pkglibdir = $(libdir)/@PACKAGE@
+-pkglibexecdir = $(libexecdir)/@PACKAGE@
+-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+-install_sh_DATA = $(install_sh) -c -m 644
+-install_sh_PROGRAM = $(install_sh) -c
+-install_sh_SCRIPT = $(install_sh) -c
+-INSTALL_HEADER = $(INSTALL_DATA)
+-transform = $(program_transform_name)
+-NORMAL_INSTALL = :
+-PRE_INSTALL = :
+-POST_INSTALL = :
+-NORMAL_UNINSTALL = :
+-PRE_UNINSTALL = :
+-POST_UNINSTALL = :
+-build_triplet = @build@
+-host_triplet = @host@
+-target_triplet = @target@
+-subdir = dracut/90zfs
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps =  \
+-      $(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
+-      $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
+-      $(top_srcdir)/config/kernel-bdev-logical-size.m4 \
+-      $(top_srcdir)/config/kernel-bdi-setup-and-register.m4 \
+-      $(top_srcdir)/config/kernel-bdi.m4 \
+-      $(top_srcdir)/config/kernel-bio-empty-barrier.m4 \
+-      $(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \
+-      $(top_srcdir)/config/kernel-bio-failfast.m4 \
+-      $(top_srcdir)/config/kernel-bio-rw-syncio.m4 \
+-      $(top_srcdir)/config/kernel-blk-end-request.m4 \
+-      $(top_srcdir)/config/kernel-blk-fetch-request.m4 \
+-      $(top_srcdir)/config/kernel-blk-requeue-request.m4 \
+-      $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
+-      $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
+-      $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
+-      $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
+-      $(top_srcdir)/config/kernel-check-disk-size-change.m4 \
+-      $(top_srcdir)/config/kernel-d-obtain-alias.m4 \
+-      $(top_srcdir)/config/kernel-evict-inode.m4 \
+-      $(top_srcdir)/config/kernel-fmode-t.m4 \
+-      $(top_srcdir)/config/kernel-fsync.m4 \
+-      $(top_srcdir)/config/kernel-get-disk-ro.m4 \
+-      $(top_srcdir)/config/kernel-insert-inode-locked.m4 \
+-      $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
+-      $(top_srcdir)/config/kernel-kobj-name-len.m4 \
+-      $(top_srcdir)/config/kernel-mount-nodev.m4 \
+-      $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
+-      $(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
+-      $(top_srcdir)/config/kernel-rq-is_sync.m4 \
+-      $(top_srcdir)/config/kernel-security-inode-init.m4 \
+-      $(top_srcdir)/config/kernel-set-nlink.m4 \
+-      $(top_srcdir)/config/kernel-shrink.m4 \
+-      $(top_srcdir)/config/kernel-truncate-setsize.m4 \
+-      $(top_srcdir)/config/kernel-xattr-handler.m4 \
+-      $(top_srcdir)/config/kernel.m4 \
+-      $(top_srcdir)/config/user-arch.m4 \
+-      $(top_srcdir)/config/user-frame-larger-than.m4 \
+-      $(top_srcdir)/config/user-ioctl.m4 \
+-      $(top_srcdir)/config/user-libblkid.m4 \
+-      $(top_srcdir)/config/user-libuuid.m4 \
+-      $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
+-      $(top_srcdir)/config/user-selinux.m4 \
+-      $(top_srcdir)/config/user-udev.m4 \
+-      $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
+-      $(top_srcdir)/config/zfs-build.m4 \
+-      $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-      $(ACLOCAL_M4)
+-mkinstalldirs = $(install_sh) -d
+-CONFIG_HEADER = $(top_builddir)/zfs_config.h
+-CONFIG_CLEAN_FILES =
+-CONFIG_CLEAN_VPATH_FILES =
+-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+-am__vpath_adj = case $$p in \
+-    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+-    *) f=$$p;; \
+-  esac;
+-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+-am__install_max = 40
+-am__nobase_strip_setup = \
+-  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+-am__nobase_strip = \
+-  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+-am__nobase_list = $(am__nobase_strip_setup); \
+-  for p in $$list; do echo "$$p $$p"; done | \
+-  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+-  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+-    if (++n[$$2] == $(am__install_max)) \
+-      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+-    END { for (dir in files) print dir, files[dir] }'
+-am__base_list = \
+-  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+-  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+-am__installdirs = "$(DESTDIR)$(pkgdracutdir)"
+-SCRIPTS = $(pkgdracut_SCRIPTS)
+-AM_V_GEN = $(am__v_GEN_$(V))
+-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+-am__v_GEN_0 = @echo "  GEN   " $@;
+-AM_V_at = $(am__v_at_$(V))
+-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+-am__v_at_0 = @
+-SOURCES =
+-DIST_SOURCES =
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-ACLOCAL = @ACLOCAL@
+-ALIEN = @ALIEN@
+-ALIEN_VERSION = @ALIEN_VERSION@
+-AMTAR = @AMTAR@
+-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+-AR = @AR@
+-AUTOCONF = @AUTOCONF@
+-AUTOHEADER = @AUTOHEADER@
+-AUTOMAKE = @AUTOMAKE@
+-AWK = @AWK@
+-CC = @CC@
+-CCAS = @CCAS@
+-CCASDEPMODE = @CCASDEPMODE@
+-CCASFLAGS = @CCASFLAGS@
+-CCDEPMODE = @CCDEPMODE@
+-CFLAGS = @CFLAGS@
+-CPP = @CPP@
+-CPPFLAGS = @CPPFLAGS@
+-CYGPATH_W = @CYGPATH_W@
+-DEBUG_CFLAGS = @DEBUG_CFLAGS@
+-DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
+-DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
+-DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
+-DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
+-DEFS = @DEFS@
+-DEPDIR = @DEPDIR@
+-DPKG = @DPKG@
+-DPKGBUILD = @DPKGBUILD@
+-DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
+-DPKG_VERSION = @DPKG_VERSION@
+-DSYMUTIL = @DSYMUTIL@
+-DUMPBIN = @DUMPBIN@
+-ECHO_C = @ECHO_C@
+-ECHO_N = @ECHO_N@
+-ECHO_T = @ECHO_T@
+-EGREP = @EGREP@
+-EXEEXT = @EXEEXT@
+-FGREP = @FGREP@
+-FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
+-GREP = @GREP@
+-HAVE_ALIEN = @HAVE_ALIEN@
+-HAVE_DPKG = @HAVE_DPKG@
+-HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
+-HAVE_MAKEPKG = @HAVE_MAKEPKG@
+-HAVE_PACMAN = @HAVE_PACMAN@
+-HAVE_RPM = @HAVE_RPM@
+-HAVE_RPMBUILD = @HAVE_RPMBUILD@
+-INSTALL = @INSTALL@
+-INSTALL_DATA = @INSTALL_DATA@
+-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+-INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+-KERNELCPPFLAGS = @KERNELCPPFLAGS@
+-KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
+-LD = @LD@
+-LDFLAGS = @LDFLAGS@
+-LIBBLKID = @LIBBLKID@
+-LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
+-LIBSELINUX = @LIBSELINUX@
+-LIBTOOL = @LIBTOOL@
+-LIBUUID = @LIBUUID@
+-LINUX = @LINUX@
+-LINUX_OBJ = @LINUX_OBJ@
+-LINUX_SYMBOLS = @LINUX_SYMBOLS@
+-LINUX_VERSION = @LINUX_VERSION@
+-LIPO = @LIPO@
+-LN_S = @LN_S@
+-LTLIBOBJS = @LTLIBOBJS@
+-MAINT = @MAINT@
+-MAKEINFO = @MAKEINFO@
+-MAKEPKG = @MAKEPKG@
+-MAKEPKG_VERSION = @MAKEPKG_VERSION@
+-MKDIR_P = @MKDIR_P@
+-NM = @NM@
+-NMEDIT = @NMEDIT@
+-NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
+-OBJDUMP = @OBJDUMP@
+-OBJEXT = @OBJEXT@
+-OTOOL = @OTOOL@
+-OTOOL64 = @OTOOL64@
+-PACKAGE = @PACKAGE@
+-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+-PACKAGE_NAME = @PACKAGE_NAME@
+-PACKAGE_STRING = @PACKAGE_STRING@
+-PACKAGE_TARNAME = @PACKAGE_TARNAME@
+-PACKAGE_VERSION = @PACKAGE_VERSION@
+-PACMAN = @PACMAN@
+-PACMAN_VERSION = @PACMAN_VERSION@
+-PATH_SEPARATOR = @PATH_SEPARATOR@
+-RANLIB = @RANLIB@
+-RPM = @RPM@
+-RPMBUILD = @RPMBUILD@
+-RPMBUILD_VERSION = @RPMBUILD_VERSION@
+-RPM_VERSION = @RPM_VERSION@
+-SED = @SED@
+-SET_MAKE = @SET_MAKE@
+-SHELL = @SHELL@
+-SPL = @SPL@
+-SPL_OBJ = @SPL_OBJ@
+-SPL_SYMBOLS = @SPL_SYMBOLS@
+-SPL_VERSION = @SPL_VERSION@
+-STRIP = @STRIP@
+-TARGET_ASM_DIR = @TARGET_ASM_DIR@
+-VENDOR = @VENDOR@
+-VERSION = @VERSION@
+-ZFS_CONFIG = @ZFS_CONFIG@
+-ZFS_META_ALIAS = @ZFS_META_ALIAS@
+-ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
+-ZFS_META_DATA = @ZFS_META_DATA@
+-ZFS_META_LICENSE = @ZFS_META_LICENSE@
+-ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
+-ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
+-ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
+-ZFS_META_NAME = @ZFS_META_NAME@
+-ZFS_META_RELEASE = @ZFS_META_RELEASE@
+-ZFS_META_VERSION = @ZFS_META_VERSION@
+-ZLIB = @ZLIB@
+-abs_builddir = @abs_builddir@
+-abs_srcdir = @abs_srcdir@
+-abs_top_builddir = @abs_top_builddir@
+-abs_top_srcdir = @abs_top_srcdir@
+-ac_ct_CC = @ac_ct_CC@
+-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+-am__include = @am__include@
+-am__leading_dot = @am__leading_dot@
+-am__quote = @am__quote@
+-am__tar = @am__tar@
+-am__untar = @am__untar@
+-bindir = @bindir@
+-build = @build@
+-build_alias = @build_alias@
+-build_cpu = @build_cpu@
+-build_os = @build_os@
+-build_vendor = @build_vendor@
+-builddir = @builddir@
+-datadir = @datadir@
+-datarootdir = @datarootdir@
+-docdir = @docdir@
+-dvidir = @dvidir@
+-exec_prefix = @exec_prefix@
+-host = @host@
+-host_alias = @host_alias@
+-host_cpu = @host_cpu@
+-host_os = @host_os@
+-host_vendor = @host_vendor@
+-htmldir = @htmldir@
+-includedir = @includedir@
+-infodir = @infodir@
+-install_sh = @install_sh@
+-libdir = @libdir@
+-libexecdir = @libexecdir@
+-localedir = @localedir@
+-localstatedir = @localstatedir@
+-lt_ECHO = @lt_ECHO@
+-mandir = @mandir@
+-mkdir_p = @mkdir_p@
+-oldincludedir = @oldincludedir@
+-pdfdir = @pdfdir@
+-prefix = @prefix@
+-program_transform_name = @program_transform_name@
+-psdir = @psdir@
+-sbindir = @sbindir@
+-sharedstatedir = @sharedstatedir@
+-srcdir = @srcdir@
+-sysconfdir = @sysconfdir@
+-target = @target@
+-target_alias = @target_alias@
+-target_cpu = @target_cpu@
+-target_os = @target_os@
+-target_vendor = @target_vendor@
+-top_build_prefix = @top_build_prefix@
+-top_builddir = @top_builddir@
+-top_srcdir = @top_srcdir@
+-udevdir = @udevdir@
+-udevruledir = @udevruledir@
+-pkgdracutdir = $(datadir)/dracut/modules.d/90zfs
+-pkgdracut_SCRIPTS = \
+-      $(top_srcdir)/dracut/90zfs/module-setup.sh \
+-      $(top_srcdir)/dracut/90zfs/mount-zfs.sh \
+-      $(top_srcdir)/dracut/90zfs/parse-zfs.sh
+-
+-EXTRA_DIST = \
+-      $(top_srcdir)/dracut/90zfs/module-setup.sh.in \
+-      $(top_srcdir)/dracut/90zfs/mount-zfs.sh.in \
+-      $(top_srcdir)/dracut/90zfs/parse-zfs.sh.in
+-
+-all: all-am
+-
+-.SUFFIXES:
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+-      @for dep in $?; do \
+-        case '$(am__configure_deps)' in \
+-          *$$dep*) \
+-            ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+-              && { if test -f $@; then exit 0; else break; fi; }; \
+-            exit 1;; \
+-        esac; \
+-      done; \
+-      echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu dracut/90zfs/Makefile'; \
+-      $(am__cd) $(top_srcdir) && \
+-        $(AUTOMAKE) --gnu dracut/90zfs/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-      @case '$?' in \
+-        *config.status*) \
+-          cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-        *) \
+-          echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-          cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-      esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(am__aclocal_m4_deps):
+-install-pkgdracutSCRIPTS: $(pkgdracut_SCRIPTS)
+-      @$(NORMAL_INSTALL)
+-      test -z "$(pkgdracutdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdracutdir)"
+-      @list='$(pkgdracut_SCRIPTS)'; test -n "$(pkgdracutdir)" || list=; \
+-      for p in $$list; do \
+-        if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+-        if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
+-      done | \
+-      sed -e 'p;s,.*/,,;n' \
+-          -e 'h;s|.*|.|' \
+-          -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
+-      $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
+-        { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+-          if ($$2 == $$4) { files[d] = files[d] " " $$1; \
+-            if (++n[d] == $(am__install_max)) { \
+-              print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
+-          else { print "f", d "/" $$4, $$1 } } \
+-        END { for (d in files) print "f", d, files[d] }' | \
+-      while read type dir files; do \
+-           if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+-           test -z "$$files" || { \
+-             echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(pkgdracutdir)$$dir'"; \
+-             $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(pkgdracutdir)$$dir" || exit $$?; \
+-           } \
+-      ; done
+-
+-uninstall-pkgdracutSCRIPTS:
+-      @$(NORMAL_UNINSTALL)
+-      @list='$(pkgdracut_SCRIPTS)'; test -n "$(pkgdracutdir)" || exit 0; \
+-      files=`for p in $$list; do echo "$$p"; done | \
+-             sed -e 's,.*/,,;$(transform)'`; \
+-      test -n "$$list" || exit 0; \
+-      echo " ( cd '$(DESTDIR)$(pkgdracutdir)' && rm -f" $$files ")"; \
+-      cd "$(DESTDIR)$(pkgdracutdir)" && rm -f $$files
+-
+-mostlyclean-libtool:
+-      -rm -f *.lo
+-
+-clean-libtool:
+-      -rm -rf .libs _libs
+-tags: TAGS
+-TAGS:
+-
+-ctags: CTAGS
+-CTAGS:
+-
+-
+-distdir: $(DISTFILES)
+-      @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+-      topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+-      list='$(DISTFILES)'; \
+-        dist_files=`for file in $$list; do echo $$file; done | \
+-        sed -e "s|^$$srcdirstrip/||;t" \
+-            -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+-      case $$dist_files in \
+-        */*) $(MKDIR_P) `echo "$$dist_files" | \
+-                         sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+-                         sort -u` ;; \
+-      esac; \
+-      for file in $$dist_files; do \
+-        if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+-        if test -d $$d/$$file; then \
+-          dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+-          if test -d "$(distdir)/$$file"; then \
+-            find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+-          fi; \
+-          if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+-            cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+-            find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+-          fi; \
+-          cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+-        else \
+-          test -f "$(distdir)/$$file" \
+-          || cp -p $$d/$$file "$(distdir)/$$file" \
+-          || exit 1; \
+-        fi; \
+-      done
+-check-am: all-am
+-check: check-am
+-all-am: Makefile $(SCRIPTS)
+-installdirs:
+-      for dir in "$(DESTDIR)$(pkgdracutdir)"; do \
+-        test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+-      done
+-install: install-am
+-install-exec: install-exec-am
+-install-data: install-data-am
+-uninstall: uninstall-am
+-
+-install-am: all-am
+-      @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-
+-installcheck: installcheck-am
+-install-strip:
+-      $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+-        install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+-        `test -z '$(STRIP)' || \
+-          echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+-mostlyclean-generic:
+-
+-clean-generic:
+-
+-distclean-generic:
+-      -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+-      -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+-
+-maintainer-clean-generic:
+-      @echo "This command is intended for maintainers to use"
+-      @echo "it deletes files that may require special tools to rebuild."
+-clean: clean-am
+-
+-clean-am: clean-generic clean-libtool mostlyclean-am
+-
+-distclean: distclean-am
+-      -rm -f Makefile
+-distclean-am: clean-am distclean-generic distclean-local
+-
+-dvi: dvi-am
+-
+-dvi-am:
+-
+-html: html-am
+-
+-html-am:
+-
+-info: info-am
+-
+-info-am:
+-
+-install-data-am: install-pkgdracutSCRIPTS
+-
+-install-dvi: install-dvi-am
+-
+-install-dvi-am:
+-
+-install-exec-am:
+-
+-install-html: install-html-am
+-
+-install-html-am:
+-
+-install-info: install-info-am
+-
+-install-info-am:
+-
+-install-man:
+-
+-install-pdf: install-pdf-am
+-
+-install-pdf-am:
+-
+-install-ps: install-ps-am
+-
+-install-ps-am:
+-
+-installcheck-am:
+-
+-maintainer-clean: maintainer-clean-am
+-      -rm -f Makefile
+-maintainer-clean-am: distclean-am maintainer-clean-generic
+-
+-mostlyclean: mostlyclean-am
+-
+-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+-
+-pdf: pdf-am
+-
+-pdf-am:
+-
+-ps: ps-am
+-
+-ps-am:
+-
+-uninstall-am: uninstall-pkgdracutSCRIPTS
+-
+-.MAKE: install-am install-strip
+-
+-.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+-      distclean distclean-generic distclean-libtool distclean-local \
+-      distdir dvi dvi-am html html-am info info-am install \
+-      install-am install-data install-data-am install-dvi \
+-      install-dvi-am install-exec install-exec-am install-html \
+-      install-html-am install-info install-info-am install-man \
+-      install-pdf install-pdf-am install-pkgdracutSCRIPTS install-ps \
+-      install-ps-am install-strip installcheck installcheck-am \
+-      installdirs maintainer-clean maintainer-clean-generic \
+-      mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
+-      ps ps-am uninstall uninstall-am uninstall-pkgdracutSCRIPTS
+-
+-
+-$(pkgdracut_SCRIPTS):
+-      -$(SED) -e 's,@bindir\@,$(bindir),g' \
+-              -e 's,@sbindir\@,$(sbindir),g' \
+-              -e 's,@udevdir\@,$(udevdir),g' \
+-              -e 's,@udevruledir\@,$(udevruledir),g' \
+-              -e 's,@sysconfdir\@,$(sysconfdir),g' \
+-              '$@.in' >'$@'
+-
+-distclean-local::
+-      -$(RM) $(pkgdracut_SCRIPTS)
+-
+-# Tell versions [3.59,3.63) of GNU make to not export all variables.
+-# Otherwise a system limit (for SysV at least) may be exceeded.
+-.NOEXPORT:
+diff --git a/dracut/90zfs/module-setup.sh.in b/dracut/90zfs/module-setup.sh.in
+deleted file mode 100755
+index c01915e..0000000
+--- a/dracut/90zfs/module-setup.sh.in
++++ /dev/null
+@@ -1,55 +0,0 @@
+-#!/bin/sh
+-
+-check() {
+-      # We depend on udev-rules being loaded
+-      [ "$1" = "-d" ] && return 0
+-
+-      # Verify the zfs tool chain
+-      which zpool >/dev/null 2>&1 || return 1
+-      which zfs >/dev/null 2>&1 || return 1
+-
+-      return 0
+-}
+-
+-depends() {
+-      echo udev-rules
+-      return 0
+-}
+-
+-installkernel() {
+-      instmods zfs
+-      instmods zcommon
+-      instmods znvpair
+-      instmods zavl
+-      instmods zunicode
+-      instmods spl
+-      instmods zlib_deflate
+-      instmods zlib_inflate
+-}
+-
+-install() {
+-      inst_rules @udevruledir@/90-zfs.rules
+-      inst_rules @udevruledir@/60-zpool.rules
+-      inst_rules @udevruledir@/60-zvol.rules
+-      inst @sysconfdir@/zfs/zdev.conf
+-      inst @sysconfdir@/zfs/zpool.cache
+-      dracut_install @sbindir@/zfs
+-      dracut_install @sbindir@/zpool
+-      dracut_install @bindir@/zpool_layout
+-      dracut_install @udevdir@/zpool_id
+-      dracut_install @udevdir@/zvol_id
+-      dracut_install mount.zfs
+-      dracut_install hostid
+-      inst_hook cmdline 95 "$moddir/parse-zfs.sh"
+-      inst_hook mount 98 "$moddir/mount-zfs.sh"
+-
+-      # Synchronize initramfs and system hostid
+-      TMP=`mktemp`
+-      AA=`hostid | cut -b 1,2`
+-      BB=`hostid | cut -b 3,4`
+-      CC=`hostid | cut -b 5,6`
+-      DD=`hostid | cut -b 7,8`
+-      printf "\x$DD\x$CC\x$BB\x$AA" >$TMP
+-      inst_simple "$TMP" /etc/hostid
+-      rm "$TMP"
+-}
+diff --git a/dracut/90zfs/mount-zfs.sh.in b/dracut/90zfs/mount-zfs.sh.in
+deleted file mode 100755
+index 2d2afd8..0000000
+--- a/dracut/90zfs/mount-zfs.sh.in
++++ /dev/null
+@@ -1,71 +0,0 @@
+-#!/bin/sh
+-
+-. /lib/dracut-lib.sh
+-
+-ZPOOL_FORCE=""
+-
+-if getargbool 0 zfs_force -y zfs.force -y zfsforce ; then
+-      warn "ZFS: Will force-import pools if necessary."
+-      ZPOOL_FORCE="-f"
+-fi
+-
+-case "$root" in
+-      zfs:*)
+-              # We have ZFS modules loaded, so we're able to import pools now.
+-              if [ "$root" = "zfs:AUTO" ] ; then
+-                      # Need to parse bootfs attribute
+-                      info "ZFS: Attempting to detect root from imported ZFS pools."
+-
+-                      # Might be imported by the kernel module, so try searching before
+-                      # we import anything.
+-                      zfsbootfs=`zpool list -H -o bootfs | sed -n '/-/ !p' | sed 'q'`
+-                      if [ "$?" != "0" ] || [ "$zfsbootfs" = "" ] || \
+-                              [ "$zfsbootfs" = "no pools available" ] ; then
+-                              # Not there, so we need to import everything.
+-                              info "ZFS: Attempting to import additional pools."
+-                              zpool import -N -a ${ZPOOL_FORCE}
+-                              zfsbootfs=`zpool list -H -o bootfs | sed -n '/-/ !p' | sed 'q'`
+-                              if [ "$?" != "0" ] || [ "$zfsbootfs" = "" ] || \
+-                                      [ "$zfsbootfs" = "no pools available" ] ; then
+-                                      rootok=0
+-                                      pool=""
+-
+-                                      warn "ZFS: No bootfs attribute found in importable pools."
+-
+-                                      # Re-export everything since we're not prepared to take
+-                                      # responsibility for them.
+-                                      zpool list -H | while read fs rest ; do
+-                                              zpool export "$fs"
+-                                      done
+-
+-                                      return 1
+-                              fi
+-                      fi
+-                      info "ZFS: Using ${zfsbootfs} as root."
+-              else
+-                      # Should have an explicit pool set, so just import it and we're done.
+-                      zfsbootfs="${root#zfs:}"
+-                      pool="${zfsbootfs%%/*}"
+-                      if ! zpool list -H $pool > /dev/null ; then
+-                              # pool wasn't imported automatically by the kernel module, so
+-                              # try it manually.
+-                              info "ZFS: Importing pool ${pool}..."
+-                              if ! zpool import -N ${ZPOOL_FORCE} $pool ; then
+-                                      warn "ZFS: Unable to import pool ${pool}."
+-                                      rootok=0
+-
+-                                      return 1
+-                              fi
+-                      fi
+-              fi
+-
+-              # Above should have left our rpool imported and pool/dataset in $root.
+-              # We need zfsutil for non-legacy mounts and not for legacy mounts.
+-              mountpoint=`zfs get -H -o value mountpoint $zfsbootfs`
+-              if [ "$mountpoint" = "legacy" ] ; then
+-                      mount -t zfs "$zfsbootfs" "$NEWROOT" && ROOTFS_MOUNTED=yes
+-              else
+-                      mount -o zfsutil -t zfs "$zfsbootfs" "$NEWROOT" && ROOTFS_MOUNTED=yes
+-              fi
+-              ;;
+-esac
+diff --git a/dracut/90zfs/parse-zfs.sh.in b/dracut/90zfs/parse-zfs.sh.in
+deleted file mode 100755
+index 571d263..0000000
+--- a/dracut/90zfs/parse-zfs.sh.in
++++ /dev/null
+@@ -1,58 +0,0 @@
+-#!/bin/sh
+-
+-. /lib/dracut-lib.sh
+-
+-# Let the command line override our host id.
+-spl_hostid=`getarg spl_hostid=`
+-if [ "${spl_hostid}" != "" ] ; then
+-      info "ZFS: Using hostid from command line: ${spl_hostid}"
+-      AA=`echo ${spl_hostid} | cut -b 1,2`
+-      BB=`echo ${spl_hostid} | cut -b 3,4`
+-      CC=`echo ${spl_hostid} | cut -b 5,6`
+-      DD=`echo ${spl_hostid} | cut -b 7,8`
+-      printf "\x$DD\x$CC\x$BB\x$AA" >/etc/hostid
+-elif [ -f /etc/hostid ] ; then
+-      info "ZFS: Using hostid from /etc/hostid: `hostid`"
+-else
+-      warn "ZFS: No hostid found on kernel command line or /etc/hostid.  "
+-      warn "ZFS: Pools may not import correctly."
+-fi
+-
+-case "$root" in
+-      ""|zfs|zfs:)
+-              # We'll take root unset, root=zfs, or root=zfs:
+-              # No root set, so we want to read the bootfs attribute.  We
+-              # can't do that until udev settles so we'll set dummy values
+-              # and hope for the best later on.
+-              root="zfs:AUTO"
+-              rootok=1
+-              wait_for_zfs=1
+-
+-              info "ZFS: Enabling autodetection of bootfs after udev settles."
+-              ;;
+-
+-      ZFS\=*|zfs:*|zfs:FILESYSTEM\=*|FILESYSTEM\=*)
+-              # root is explicit ZFS root.  Parse it now.  We can handle
+-              # a root=... param in any of the following formats:
+-              # root=ZFS=rpool/ROOT
+-              # root=zfs:rpool/ROOT
+-              # root=zfs:FILESYSTEM=rpool/ROOT
+-              # root=FILESYSTEM=rpool/ROOT
+-
+-              # Strip down to just the pool/fs
+-              root="${root#zfs:}"
+-              root="${root#FILESYSTEM=}"
+-              root="zfs:${root#ZFS=}"
+-              rootok=1
+-              wait_for_zfs=1
+-
+-              info "ZFS: Set ${root} as bootfs."
+-              ;;
+-esac
+-
+-# Make sure Dracut is happy that we have a root and will wait for ZFS
+-# modules to settle before mounting.
+-if [ "${wait_for_zfs}" = "1" ]; then
+-      ln -s /dev/null /dev/root 2>/dev/null
+-      echo '[ -e /dev/zfs ]' > $hookdir/initqueue/finished/zfs.sh
+-fi
+diff --git a/dracut/Makefile.am b/dracut/Makefile.am
+deleted file mode 100644
+index 35b88c3..0000000
+--- a/dracut/Makefile.am
++++ /dev/null
+@@ -1,3 +0,0 @@
+-SUBDIRS = 90zfs
+-
+-EXTRA_DIST = README.dracut.markdown
+diff --git a/dracut/Makefile.in b/dracut/Makefile.in
+deleted file mode 100644
+index f385985..0000000
+--- a/dracut/Makefile.in
++++ /dev/null
+@@ -1,669 +0,0 @@
+-# Makefile.in generated by automake 1.11.1 from Makefile.am.
+-# @configure_input@
+-
+-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+-# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+-# Inc.
+-# This Makefile.in is free software; the Free Software Foundation
+-# gives unlimited permission to copy and/or distribute it,
+-# with or without modifications, as long as this notice is preserved.
+-
+-# This program is distributed in the hope that it will be useful,
+-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+-# PARTICULAR PURPOSE.
+-
+-@SET_MAKE@
+-VPATH = @srcdir@
+-pkgdatadir = $(datadir)/@PACKAGE@
+-pkgincludedir = $(includedir)/@PACKAGE@
+-pkglibdir = $(libdir)/@PACKAGE@
+-pkglibexecdir = $(libexecdir)/@PACKAGE@
+-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+-install_sh_DATA = $(install_sh) -c -m 644
+-install_sh_PROGRAM = $(install_sh) -c
+-install_sh_SCRIPT = $(install_sh) -c
+-INSTALL_HEADER = $(INSTALL_DATA)
+-transform = $(program_transform_name)
+-NORMAL_INSTALL = :
+-PRE_INSTALL = :
+-POST_INSTALL = :
+-NORMAL_UNINSTALL = :
+-PRE_UNINSTALL = :
+-POST_UNINSTALL = :
+-build_triplet = @build@
+-host_triplet = @host@
+-target_triplet = @target@
+-subdir = dracut
+-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+-am__aclocal_m4_deps =  \
+-      $(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
+-      $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
+-      $(top_srcdir)/config/kernel-bdev-logical-size.m4 \
+-      $(top_srcdir)/config/kernel-bdi-setup-and-register.m4 \
+-      $(top_srcdir)/config/kernel-bdi.m4 \
+-      $(top_srcdir)/config/kernel-bio-empty-barrier.m4 \
+-      $(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \
+-      $(top_srcdir)/config/kernel-bio-failfast.m4 \
+-      $(top_srcdir)/config/kernel-bio-rw-syncio.m4 \
+-      $(top_srcdir)/config/kernel-blk-end-request.m4 \
+-      $(top_srcdir)/config/kernel-blk-fetch-request.m4 \
+-      $(top_srcdir)/config/kernel-blk-requeue-request.m4 \
+-      $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
+-      $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
+-      $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
+-      $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
+-      $(top_srcdir)/config/kernel-check-disk-size-change.m4 \
+-      $(top_srcdir)/config/kernel-d-obtain-alias.m4 \
+-      $(top_srcdir)/config/kernel-evict-inode.m4 \
+-      $(top_srcdir)/config/kernel-fmode-t.m4 \
+-      $(top_srcdir)/config/kernel-fsync.m4 \
+-      $(top_srcdir)/config/kernel-get-disk-ro.m4 \
+-      $(top_srcdir)/config/kernel-insert-inode-locked.m4 \
+-      $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
+-      $(top_srcdir)/config/kernel-kobj-name-len.m4 \
+-      $(top_srcdir)/config/kernel-mount-nodev.m4 \
+-      $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
+-      $(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
+-      $(top_srcdir)/config/kernel-rq-is_sync.m4 \
+-      $(top_srcdir)/config/kernel-security-inode-init.m4 \
+-      $(top_srcdir)/config/kernel-set-nlink.m4 \
+-      $(top_srcdir)/config/kernel-shrink.m4 \
+-      $(top_srcdir)/config/kernel-truncate-setsize.m4 \
+-      $(top_srcdir)/config/kernel-xattr-handler.m4 \
+-      $(top_srcdir)/config/kernel.m4 \
+-      $(top_srcdir)/config/user-arch.m4 \
+-      $(top_srcdir)/config/user-frame-larger-than.m4 \
+-      $(top_srcdir)/config/user-ioctl.m4 \
+-      $(top_srcdir)/config/user-libblkid.m4 \
+-      $(top_srcdir)/config/user-libuuid.m4 \
+-      $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
+-      $(top_srcdir)/config/user-selinux.m4 \
+-      $(top_srcdir)/config/user-udev.m4 \
+-      $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
+-      $(top_srcdir)/config/zfs-build.m4 \
+-      $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
+-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+-      $(ACLOCAL_M4)
+-mkinstalldirs = $(install_sh) -d
+-CONFIG_HEADER = $(top_builddir)/zfs_config.h
+-CONFIG_CLEAN_FILES =
+-CONFIG_CLEAN_VPATH_FILES =
+-AM_V_GEN = $(am__v_GEN_$(V))
+-am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+-am__v_GEN_0 = @echo "  GEN   " $@;
+-AM_V_at = $(am__v_at_$(V))
+-am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+-am__v_at_0 = @
+-SOURCES =
+-DIST_SOURCES =
+-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+-      html-recursive info-recursive install-data-recursive \
+-      install-dvi-recursive install-exec-recursive \
+-      install-html-recursive install-info-recursive \
+-      install-pdf-recursive install-ps-recursive install-recursive \
+-      installcheck-recursive installdirs-recursive pdf-recursive \
+-      ps-recursive uninstall-recursive
+-RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive       \
+-  distclean-recursive maintainer-clean-recursive
+-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
+-      $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+-      distdir
+-ETAGS = etags
+-CTAGS = ctags
+-DIST_SUBDIRS = $(SUBDIRS)
+-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-am__relativize = \
+-  dir0=`pwd`; \
+-  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+-  sed_rest='s,^[^/]*/*,,'; \
+-  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+-  sed_butlast='s,/*[^/]*$$,,'; \
+-  while test -n "$$dir1"; do \
+-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+-    if test "$$first" != "."; then \
+-      if test "$$first" = ".."; then \
+-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+-      else \
+-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+-        if test "$$first2" = "$$first"; then \
+-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+-        else \
+-          dir2="../$$dir2"; \
+-        fi; \
+-        dir0="$$dir0"/"$$first"; \
+-      fi; \
+-    fi; \
+-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+-  done; \
+-  reldir="$$dir2"
+-ACLOCAL = @ACLOCAL@
+-ALIEN = @ALIEN@
+-ALIEN_VERSION = @ALIEN_VERSION@
+-AMTAR = @AMTAR@
+-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+-AR = @AR@
+-AUTOCONF = @AUTOCONF@
+-AUTOHEADER = @AUTOHEADER@
+-AUTOMAKE = @AUTOMAKE@
+-AWK = @AWK@
+-CC = @CC@
+-CCAS = @CCAS@
+-CCASDEPMODE = @CCASDEPMODE@
+-CCASFLAGS = @CCASFLAGS@
+-CCDEPMODE = @CCDEPMODE@
+-CFLAGS = @CFLAGS@
+-CPP = @CPP@
+-CPPFLAGS = @CPPFLAGS@
+-CYGPATH_W = @CYGPATH_W@
+-DEBUG_CFLAGS = @DEBUG_CFLAGS@
+-DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
+-DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
+-DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
+-DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
+-DEFS = @DEFS@
+-DEPDIR = @DEPDIR@
+-DPKG = @DPKG@
+-DPKGBUILD = @DPKGBUILD@
+-DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
+-DPKG_VERSION = @DPKG_VERSION@
+-DSYMUTIL = @DSYMUTIL@
+-DUMPBIN = @DUMPBIN@
+-ECHO_C = @ECHO_C@
+-ECHO_N = @ECHO_N@
+-ECHO_T = @ECHO_T@
+-EGREP = @EGREP@
+-EXEEXT = @EXEEXT@
+-FGREP = @FGREP@
+-FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
+-GREP = @GREP@
+-HAVE_ALIEN = @HAVE_ALIEN@
+-HAVE_DPKG = @HAVE_DPKG@
+-HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
+-HAVE_MAKEPKG = @HAVE_MAKEPKG@
+-HAVE_PACMAN = @HAVE_PACMAN@
+-HAVE_RPM = @HAVE_RPM@
+-HAVE_RPMBUILD = @HAVE_RPMBUILD@
+-INSTALL = @INSTALL@
+-INSTALL_DATA = @INSTALL_DATA@
+-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+-INSTALL_SCRIPT = @INSTALL_SCRIPT@
+-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+-KERNELCPPFLAGS = @KERNELCPPFLAGS@
+-KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
+-LD = @LD@
+-LDFLAGS = @LDFLAGS@
+-LIBBLKID = @LIBBLKID@
+-LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
+-LIBSELINUX = @LIBSELINUX@
+-LIBTOOL = @LIBTOOL@
+-LIBUUID = @LIBUUID@
+-LINUX = @LINUX@
+-LINUX_OBJ = @LINUX_OBJ@
+-LINUX_SYMBOLS = @LINUX_SYMBOLS@
+-LINUX_VERSION = @LINUX_VERSION@
+-LIPO = @LIPO@
+-LN_S = @LN_S@
+-LTLIBOBJS = @LTLIBOBJS@
+-MAINT = @MAINT@
+-MAKEINFO = @MAKEINFO@
+-MAKEPKG = @MAKEPKG@
+-MAKEPKG_VERSION = @MAKEPKG_VERSION@
+-MKDIR_P = @MKDIR_P@
+-NM = @NM@
+-NMEDIT = @NMEDIT@
+-NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
+-OBJDUMP = @OBJDUMP@
+-OBJEXT = @OBJEXT@
+-OTOOL = @OTOOL@
+-OTOOL64 = @OTOOL64@
+-PACKAGE = @PACKAGE@
+-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+-PACKAGE_NAME = @PACKAGE_NAME@
+-PACKAGE_STRING = @PACKAGE_STRING@
+-PACKAGE_TARNAME = @PACKAGE_TARNAME@
+-PACKAGE_VERSION = @PACKAGE_VERSION@
+-PACMAN = @PACMAN@
+-PACMAN_VERSION = @PACMAN_VERSION@
+-PATH_SEPARATOR = @PATH_SEPARATOR@
+-RANLIB = @RANLIB@
+-RPM = @RPM@
+-RPMBUILD = @RPMBUILD@
+-RPMBUILD_VERSION = @RPMBUILD_VERSION@
+-RPM_VERSION = @RPM_VERSION@
+-SED = @SED@
+-SET_MAKE = @SET_MAKE@
+-SHELL = @SHELL@
+-SPL = @SPL@
+-SPL_OBJ = @SPL_OBJ@
+-SPL_SYMBOLS = @SPL_SYMBOLS@
+-SPL_VERSION = @SPL_VERSION@
+-STRIP = @STRIP@
+-TARGET_ASM_DIR = @TARGET_ASM_DIR@
+-VENDOR = @VENDOR@
+-VERSION = @VERSION@
+-ZFS_CONFIG = @ZFS_CONFIG@
+-ZFS_META_ALIAS = @ZFS_META_ALIAS@
+-ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
+-ZFS_META_DATA = @ZFS_META_DATA@
+-ZFS_META_LICENSE = @ZFS_META_LICENSE@
+-ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
+-ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
+-ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
+-ZFS_META_NAME = @ZFS_META_NAME@
+-ZFS_META_RELEASE = @ZFS_META_RELEASE@
+-ZFS_META_VERSION = @ZFS_META_VERSION@
+-ZLIB = @ZLIB@
+-abs_builddir = @abs_builddir@
+-abs_srcdir = @abs_srcdir@
+-abs_top_builddir = @abs_top_builddir@
+-abs_top_srcdir = @abs_top_srcdir@
+-ac_ct_CC = @ac_ct_CC@
+-ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+-am__include = @am__include@
+-am__leading_dot = @am__leading_dot@
+-am__quote = @am__quote@
+-am__tar = @am__tar@
+-am__untar = @am__untar@
+-bindir = @bindir@
+-build = @build@
+-build_alias = @build_alias@
+-build_cpu = @build_cpu@
+-build_os = @build_os@
+-build_vendor = @build_vendor@
+-builddir = @builddir@
+-datadir = @datadir@
+-datarootdir = @datarootdir@
+-docdir = @docdir@
+-dvidir = @dvidir@
+-exec_prefix = @exec_prefix@
+-host = @host@
+-host_alias = @host_alias@
+-host_cpu = @host_cpu@
+-host_os = @host_os@
+-host_vendor = @host_vendor@
+-htmldir = @htmldir@
+-includedir = @includedir@
+-infodir = @infodir@
+-install_sh = @install_sh@
+-libdir = @libdir@
+-libexecdir = @libexecdir@
+-localedir = @localedir@
+-localstatedir = @localstatedir@
+-lt_ECHO = @lt_ECHO@
+-mandir = @mandir@
+-mkdir_p = @mkdir_p@
+-oldincludedir = @oldincludedir@
+-pdfdir = @pdfdir@
+-prefix = @prefix@
+-program_transform_name = @program_transform_name@
+-psdir = @psdir@
+-sbindir = @sbindir@
+-sharedstatedir = @sharedstatedir@
+-srcdir = @srcdir@
+-sysconfdir = @sysconfdir@
+-target = @target@
+-target_alias = @target_alias@
+-target_cpu = @target_cpu@
+-target_os = @target_os@
+-target_vendor = @target_vendor@
+-top_build_prefix = @top_build_prefix@
+-top_builddir = @top_builddir@
+-top_srcdir = @top_srcdir@
+-udevdir = @udevdir@
+-udevruledir = @udevruledir@
+-SUBDIRS = 90zfs
+-EXTRA_DIST = README.dracut.markdown
+-all: all-recursive
+-
+-.SUFFIXES:
+-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+-      @for dep in $?; do \
+-        case '$(am__configure_deps)' in \
+-          *$$dep*) \
+-            ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+-              && { if test -f $@; then exit 0; else break; fi; }; \
+-            exit 1;; \
+-        esac; \
+-      done; \
+-      echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu dracut/Makefile'; \
+-      $(am__cd) $(top_srcdir) && \
+-        $(AUTOMAKE) --gnu dracut/Makefile
+-.PRECIOUS: Makefile
+-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+-      @case '$?' in \
+-        *config.status*) \
+-          cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+-        *) \
+-          echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+-          cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+-      esac;
+-
+-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+-      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-
+-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+-      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+-      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+-$(am__aclocal_m4_deps):
+-
+-mostlyclean-libtool:
+-      -rm -f *.lo
+-
+-clean-libtool:
+-      -rm -rf .libs _libs
+-
+-# This directory's subdirectories are mostly independent; you can cd
+-# into them and run `make' without going through this Makefile.
+-# To change the values of `make' variables: instead of editing Makefiles,
+-# (1) if the variable is set in `config.status', edit `config.status'
+-#     (which will cause the Makefiles to be regenerated when you run `make');
+-# (2) otherwise, pass the desired values on the `make' command line.
+-$(RECURSIVE_TARGETS):
+-      @fail= failcom='exit 1'; \
+-      for f in x $$MAKEFLAGS; do \
+-        case $$f in \
+-          *=* | --[!k]*);; \
+-          *k*) failcom='fail=yes';; \
+-        esac; \
+-      done; \
+-      dot_seen=no; \
+-      target=`echo $@ | sed s/-recursive//`; \
+-      list='$(SUBDIRS)'; for subdir in $$list; do \
+-        echo "Making $$target in $$subdir"; \
+-        if test "$$subdir" = "."; then \
+-          dot_seen=yes; \
+-          local_target="$$target-am"; \
+-        else \
+-          local_target="$$target"; \
+-        fi; \
+-        ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+-        || eval $$failcom; \
+-      done; \
+-      if test "$$dot_seen" = "no"; then \
+-        $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+-      fi; test -z "$$fail"
+-
+-$(RECURSIVE_CLEAN_TARGETS):
+-      @fail= failcom='exit 1'; \
+-      for f in x $$MAKEFLAGS; do \
+-        case $$f in \
+-          *=* | --[!k]*);; \
+-          *k*) failcom='fail=yes';; \
+-        esac; \
+-      done; \
+-      dot_seen=no; \
+-      case "$@" in \
+-        distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+-        *) list='$(SUBDIRS)' ;; \
+-      esac; \
+-      rev=''; for subdir in $$list; do \
+-        if test "$$subdir" = "."; then :; else \
+-          rev="$$subdir $$rev"; \
+-        fi; \
+-      done; \
+-      rev="$$rev ."; \
+-      target=`echo $@ | sed s/-recursive//`; \
+-      for subdir in $$rev; do \
+-        echo "Making $$target in $$subdir"; \
+-        if test "$$subdir" = "."; then \
+-          local_target="$$target-am"; \
+-        else \
+-          local_target="$$target"; \
+-        fi; \
+-        ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+-        || eval $$failcom; \
+-      done && test -z "$$fail"
+-tags-recursive:
+-      list='$(SUBDIRS)'; for subdir in $$list; do \
+-        test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+-      done
+-ctags-recursive:
+-      list='$(SUBDIRS)'; for subdir in $$list; do \
+-        test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+-      done
+-
+-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+-      list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+-      unique=`for i in $$list; do \
+-          if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+-        done | \
+-        $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+-            END { if (nonempty) { for (i in files) print i; }; }'`; \
+-      mkid -fID $$unique
+-tags: TAGS
+-
+-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+-              $(TAGS_FILES) $(LISP)
+-      set x; \
+-      here=`pwd`; \
+-      if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+-        include_option=--etags-include; \
+-        empty_fix=.; \
+-      else \
+-        include_option=--include; \
+-        empty_fix=; \
+-      fi; \
+-      list='$(SUBDIRS)'; for subdir in $$list; do \
+-        if test "$$subdir" = .; then :; else \
+-          test ! -f $$subdir/TAGS || \
+-            set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+-        fi; \
+-      done; \
+-      list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+-      unique=`for i in $$list; do \
+-          if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+-        done | \
+-        $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+-            END { if (nonempty) { for (i in files) print i; }; }'`; \
+-      shift; \
+-      if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+-        test -n "$$unique" || unique=$$empty_fix; \
+-        if test $$# -gt 0; then \
+-          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+-            "$$@" $$unique; \
+-        else \
+-          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+-            $$unique; \
+-        fi; \
+-      fi
+-ctags: CTAGS
+-CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+-              $(TAGS_FILES) $(LISP)
+-      list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+-      unique=`for i in $$list; do \
+-          if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+-        done | \
+-        $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+-            END { if (nonempty) { for (i in files) print i; }; }'`; \
+-      test -z "$(CTAGS_ARGS)$$unique" \
+-        || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+-           $$unique
+-
+-GTAGS:
+-      here=`$(am__cd) $(top_builddir) && pwd` \
+-        && $(am__cd) $(top_srcdir) \
+-        && gtags -i $(GTAGS_ARGS) "$$here"
+-
+-distclean-tags:
+-      -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+-
+-distdir: $(DISTFILES)
+-      @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+-      topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+-      list='$(DISTFILES)'; \
+-        dist_files=`for file in $$list; do echo $$file; done | \
+-        sed -e "s|^$$srcdirstrip/||;t" \
+-            -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+-      case $$dist_files in \
+-        */*) $(MKDIR_P) `echo "$$dist_files" | \
+-                         sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+-                         sort -u` ;; \
+-      esac; \
+-      for file in $$dist_files; do \
+-        if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+-        if test -d $$d/$$file; then \
+-          dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+-          if test -d "$(distdir)/$$file"; then \
+-            find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+-          fi; \
+-          if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+-            cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+-            find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+-          fi; \
+-          cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+-        else \
+-          test -f "$(distdir)/$$file" \
+-          || cp -p $$d/$$file "$(distdir)/$$file" \
+-          || exit 1; \
+-        fi; \
+-      done
+-      @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+-        if test "$$subdir" = .; then :; else \
+-          test -d "$(distdir)/$$subdir" \
+-          || $(MKDIR_P) "$(distdir)/$$subdir" \
+-          || exit 1; \
+-        fi; \
+-      done
+-      @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+-        if test "$$subdir" = .; then :; else \
+-          dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+-          $(am__relativize); \
+-          new_distdir=$$reldir; \
+-          dir1=$$subdir; dir2="$(top_distdir)"; \
+-          $(am__relativize); \
+-          new_top_distdir=$$reldir; \
+-          echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+-          echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+-          ($(am__cd) $$subdir && \
+-            $(MAKE) $(AM_MAKEFLAGS) \
+-              top_distdir="$$new_top_distdir" \
+-              distdir="$$new_distdir" \
+-              am__remove_distdir=: \
+-              am__skip_length_check=: \
+-              am__skip_mode_fix=: \
+-              distdir) \
+-            || exit 1; \
+-        fi; \
+-      done
+-check-am: all-am
+-check: check-recursive
+-all-am: Makefile
+-installdirs: installdirs-recursive
+-installdirs-am:
+-install: install-recursive
+-install-exec: install-exec-recursive
+-install-data: install-data-recursive
+-uninstall: uninstall-recursive
+-
+-install-am: all-am
+-      @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+-
+-installcheck: installcheck-recursive
+-install-strip:
+-      $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+-        install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+-        `test -z '$(STRIP)' || \
+-          echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+-mostlyclean-generic:
+-
+-clean-generic:
+-
+-distclean-generic:
+-      -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+-      -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+-
+-maintainer-clean-generic:
+-      @echo "This command is intended for maintainers to use"
+-      @echo "it deletes files that may require special tools to rebuild."
+-clean: clean-recursive
+-
+-clean-am: clean-generic clean-libtool mostlyclean-am
+-
+-distclean: distclean-recursive
+-      -rm -f Makefile
+-distclean-am: clean-am distclean-generic distclean-tags
+-
+-dvi: dvi-recursive
+-
+-dvi-am:
+-
+-html: html-recursive
+-
+-html-am:
+-
+-info: info-recursive
+-
+-info-am:
+-
+-install-data-am:
+-
+-install-dvi: install-dvi-recursive
+-
+-install-dvi-am:
+-
+-install-exec-am:
+-
+-install-html: install-html-recursive
+-
+-install-html-am:
+-
+-install-info: install-info-recursive
+-
+-install-info-am:
+-
+-install-man:
+-
+-install-pdf: install-pdf-recursive
+-
+-install-pdf-am:
+-
+-install-ps: install-ps-recursive
+-
+-install-ps-am:
+-
+-installcheck-am:
+-
+-maintainer-clean: maintainer-clean-recursive
+-      -rm -f Makefile
+-maintainer-clean-am: distclean-am maintainer-clean-generic
+-
+-mostlyclean: mostlyclean-recursive
+-
+-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+-
+-pdf: pdf-recursive
+-
+-pdf-am:
+-
+-ps: ps-recursive
+-
+-ps-am:
+-
+-uninstall-am:
+-
+-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
+-      install-am install-strip tags-recursive
+-
+-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+-      all all-am check check-am clean clean-generic clean-libtool \
+-      ctags ctags-recursive distclean distclean-generic \
+-      distclean-libtool distclean-tags distdir dvi dvi-am html \
+-      html-am info info-am install install-am install-data \
+-      install-data-am install-dvi install-dvi-am install-exec \
+-      install-exec-am install-html install-html-am install-info \
+-      install-info-am install-man install-pdf install-pdf-am \
+-      install-ps install-ps-am install-strip installcheck \
+-      installcheck-am installdirs installdirs-am maintainer-clean \
+-      maintainer-clean-generic mostlyclean mostlyclean-generic \
+-      mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
+-      uninstall uninstall-am
+-
+-
+-# Tell versions [3.59,3.63) of GNU make to not export all variables.
+-# Otherwise a system limit (for SysV at least) may be exceeded.
+-.NOEXPORT:
+diff --git a/dracut/README.dracut.markdown b/dracut/README.dracut.markdown
+deleted file mode 100644
+index 909273a..0000000
+--- a/dracut/README.dracut.markdown
++++ /dev/null
+@@ -1,166 +0,0 @@
+-How to setup a zfs root filesystem using dracut
+------------------------------------------------
+-
+-1) Install the zfs-dracut package.  This package adds a zfs dracut module
+-to the /usr/share/dracut/modules.d/ directory which allows dracut to
+-create an initramfs which is zfs aware.
+-
+-2) Set the bootfs property for the bootable dataset in the pool.  Then set
+-the dataset mountpoint property to '/'.
+-
+-    $ zpool set bootfs=pool/dataset pool
+-    $ zfs set mountpoint=/ pool/dataset
+-
+-Alternately, legacy mountpoints can be used by setting the 'root=' option
+-on the kernel line of your grub.conf/menu.lst configuration file.  Then
+-set the dataset mountpoint property to 'legacy'.
+-
+-    $ grub.conf/menu.lst: kernel ... root=ZFS=pool/dataset
+-    $ zfs set mountpoint=legacy pool/dataset
+-
+-3) To set zfs module options put them in /etc/modprobe.d/zfs.conf file.
+-The complete list of zfs module options is available by running the
+-_modinfo zfs_ command.  Commonly set options include: zfs_arc_min,
+-zfs_arc_max, zfs_prefetch_disable, and zfs_vdev_max_pending.
+-
+-4) Finally, create your new initramfs by running dracut.
+-
+-    $ dracut --force /path/to/initramfs kernel_version
+-
+-Kernel Command Line
+--------------------
+-
+-The initramfs' behavior is influenced by the following kernel command line
+-parameters passed in from the boot loader:
+-
+-* `root=...`: If not set, importable pools are searched for a bootfs
+-attribute.  If an explicitly set root is desired, you may use
+-`root=ZFS:pool/dataset`
+-
+-* `zfs_force=0`: If set to 1, the initramfs will run `zpool import -f` when
+-attempting to import pools if the required pool isn't automatically imported
+-by the zfs module.  This can save you a trip to a bootcd if hostid has
+-changed, but is dangerous and can lead to zpool corruption, particularly in
+-cases where storage is on a shared fabric such as iSCSI where multiple hosts
+-can access storage devices concurrently.  _Please understand the implications
+-of force-importing a pool before enabling this option!_
+-
+-* `spl_hostid`: By default, the hostid used by the SPL module is read from
+-/etc/hostid inside the initramfs.  This file is placed there from the host
+-system when the initramfs is built which effectively ties the ramdisk to the
+-host which builds it.  If a different hostid is desired, one may be set in
+-this attribute and will override any file present in the ramdisk.  The
+-format should be hex exactly as found in the `/etc/hostid` file, IE
+-`spl_hostid=0x00bab10c`.
+-
+-Note that changing the hostid between boots will most likely lead to an
+-un-importable pool since the last importing hostid won't match.  In order
+-to recover from this, you may use the `zfs_force` option or boot from a
+-different filesystem and `zpool import -f` then `zpool export` the pool
+-before rebooting with the new hostid.
+-
+-How it Works
+-============
+-
+-The Dracut module consists of the following files (less Makefile's):
+-
+-* `module-setup.sh`: Script run by the initramfs builder to create the
+-ramdisk.  Contains instructions on which files are required by the modules
+-and z* programs.  Also triggers inclusion of `/etc/hostid` and the zpool
+-cache.  This file is not included in the initramfs.
+-
+-* `90-zfs.rules`: udev rules which trigger loading of the ZFS modules at boot.
+-
+-* `parse-zfs.sh`: Run early in the initramfs boot process to parse kernel
+-command line and determine if ZFS is the active root filesystem.
+-
+-* `mount-zfs.sh`: Run later in initramfs boot process after udev has settled
+-to mount the root dataset.
+-
+-`module-setup.sh`
+----------------
+-
+-This file is run by the Dracut script within the live system, not at boot
+-time.  It's not included in the final initramfs.  Functions in this script
+-describe which files are needed by ZFS at boot time.
+-
+-Currently all the various z* and spl modules are included, a dependency is
+-asserted on udev-rules, and the various zfs, zpool, etc. helpers are included.
+-Dracut provides library functions which automatically gather the shared libs
+-necessary to run each of these binaries, so statically built binaries are
+-not required.
+-
+-The zpool and zvol udev rules files are copied from where they are
+-installed by the ZFS build.  __PACKAGERS TAKE NOTE__: If you move
+-`/etc/udev/rules/60-z*.rules`, you'll need to update this file to match.
+-
+-Currently this file also includes `/etc/hostid` and `/etc/zfs/zpool.cache`
+-which means the generated ramdisk is specific to the host system which built
+-it.  If a generic initramfs is required, it may be preferable to omit these
+-files and specify the `spl_hostid` from the boot loader instead.
+-
+-`parse-zfs.sh`
+-------------
+-
+-Run during the cmdline phase of the initramfs boot process, this script
+-performs some basic sanity checks on kernel command line parameters to
+-determine if booting from ZFS is likely to be what is desired.  Dracut
+-requires this script to adjust the `root` variable if required and to set
+-`rootok=1` if a mountable root filesystem is available.  Unfortunately this
+-script must run before udev is settled and kernel modules are known to be
+-loaded, so accessing the zpool and zfs commands is unsafe.
+-
+-If the root=ZFS... parameter is set on the command line, then it's at least
+-certain that ZFS is what is desired, though this script is unable to
+-determine if ZFS is in fact available.  This script will alter the `root`
+-parameter to replace several historical forms of specifying the pool and
+-dataset name with the canonical form of `zfs:pool/dataset`.
+-
+-If no root= parameter is set, the best this script can do is guess that
+-ZFS is desired.  At present, no other known filesystems will work with no
+-root= parameter, though this might possibly interfere with using the
+-compiled-in default root in the kernel image.  It's considered unlikely
+-that would ever be the case when an initramfs is in use, so this script
+-sets `root=zfs:AUTO` and hopes for the best.
+-
+-Once the root=... (or lack thereof) parameter is parsed, a dummy symlink
+-is created from `/dev/root` -> `/dev/null` to satisfy parts of the Dracut
+-process which check for presence of a single root device node.
+-
+-Finally, an initqueue/finished hook is registered which causes the initqueue
+-phase of Dracut to wait for `/dev/zfs` to become available before attempting
+-to mount anything.
+-
+-`mount-zfs.sh`
+-------------
+-
+-This script is run after udev has settled and all tasks in the initqueue
+-have succeeded.  This ensures that `/dev/zfs` is available and that the
+-various ZFS modules are successfully loaded.  As it is now safe to call
+-zpool and friends, we can proceed to find the bootfs attribute if necessary.
+-
+-If the root parameter was explicitly set on the command line, no parsing is
+-necessary.  The list of imported pools is checked to see if the desired pool
+-is already imported.  If it's not, and attempt is made to import the pool
+-explicitly, though no force is attempted.  Finally the specified dataset
+-is mounted on `$NEWROOT`, first using the `-o zfsutil` option to handle
+-non-legacy mounts, then if that fails, without zfsutil to handle legacy
+-mount points.
+-
+-If no root parameter was specified, this script attempts to find a pool with
+-its bootfs attribute set.  First, already-imported pools are scanned and if
+-an appropriate pool is found, no additional pools are imported.  If no pool
+-with bootfs is found, any additional pools in the system are imported with
+-`zpool import -N -a`, and the scan for bootfs is tried again.  If no bootfs
+-is found with all pools imported, all pools are re-exported, and boot fails.
+-Assuming a bootfs is found, an attempt is made to mount it to `$NEWROOT`,
+-first with, then without the zfsutil option as above.
+-
+-Ordinarily pools are imported _without_ the force option which may cause
+-boot to fail if the hostid has changed or a pool has been physically moved
+-between servers.  The `zfs_force` kernel parameter is provided which when
+-set to `1` causes `zpool import` to be run with the `-f` flag.  Forcing pool
+-import can lead to serious data corruption and loss of pools, so this option
+-should be used with extreme caution.  Note that even with this flag set, if
+-the required zpool was auto-imported by the kernel module, no additional
+-`zpool import` commands are run, so nothing is forced.
+-- 
+1.7.5.4
+
diff --git a/debian/patches/0005-Remove-userland-dist-rules.patch b/debian/patches/0005-Remove-userland-dist-rules.patch
new file mode 100644 (file)
index 0000000..b1e3f84
--- /dev/null
@@ -0,0 +1,156 @@
+From 0c200ed806388d6a70538e703f75aafc7a1335a8 Mon Sep 17 00:00:00 2001
+From: Darik Horn <dajhorn@vanadac.com>
+Date: Tue, 17 Jan 2012 22:23:16 -0600
+Subject: [PATCH 5/6] Remove userland dist rules.
+
+The `make dist` rule is used to create the DKMS source package, which
+does not contain the userland. (eg: Dist --with-config=kernel only.)
+
+For all userland components in each automake template, delete
+instances of EXTRA_DIST and change dist_ to nodist_.
+---
+ Makefile.am                       |    3 +--
+ cmd/sas_switch_id/Makefile.am     |    2 +-
+ cmd/zpool_id/Makefile.am          |    2 +-
+ cmd/zpool_layout/Makefile.am      |    2 +-
+ etc/zfs/Makefile.am               |    2 --
+ man/man8/Makefile.am              |    1 -
+ scripts/Makefile.am               |    2 +-
+ scripts/zpios-profile/Makefile.am |    2 +-
+ scripts/zpios-test/Makefile.am    |    2 +-
+ scripts/zpool-config/Makefile.am  |    2 +-
+ scripts/zpool-layout/Makefile.am  |    2 +-
+ udev/rules.d/Makefile.am          |    5 -----
+ 12 files changed, 9 insertions(+), 18 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index b8f64ba..583f81f 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -12,8 +12,7 @@ endif
+ SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include
+ AUTOMAKE_OPTIONS = foreign
+-EXTRA_DIST  = autogen.sh zfs.spec.in zfs-modules.spec.in
+-EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am
++EXTRA_DIST  = config/config.awk config/rpm.am config/deb.am config/tgz.am
+ EXTRA_DIST += META DISCLAIMER COPYRIGHT README.markdown
+ EXTRA_DIST += OPENSOLARIS.LICENSE ZFS.RELEASE
+diff --git a/cmd/sas_switch_id/Makefile.am b/cmd/sas_switch_id/Makefile.am
+index b666bea..91277a9 100644
+--- a/cmd/sas_switch_id/Makefile.am
++++ b/cmd/sas_switch_id/Makefile.am
+@@ -1 +1 @@
+-dist_udev_SCRIPTS = sas_switch_id
++nodist_udev_SCRIPTS = sas_switch_id
+diff --git a/cmd/zpool_id/Makefile.am b/cmd/zpool_id/Makefile.am
+index 5f492cf..f186d78 100644
+--- a/cmd/zpool_id/Makefile.am
++++ b/cmd/zpool_id/Makefile.am
+@@ -1 +1 @@
+-dist_udev_SCRIPTS = zpool_id
++nodist_udev_SCRIPTS = zpool_id
+diff --git a/cmd/zpool_layout/Makefile.am b/cmd/zpool_layout/Makefile.am
+index b17e6a3..f8c61fd 100644
+--- a/cmd/zpool_layout/Makefile.am
++++ b/cmd/zpool_layout/Makefile.am
+@@ -1 +1 @@
+-dist_bin_SCRIPTS = zpool_layout
++nodist_bin_SCRIPTS = zpool_layout
+diff --git a/etc/zfs/Makefile.am b/etc/zfs/Makefile.am
+index 027c397..b5d47c4 100644
+--- a/etc/zfs/Makefile.am
++++ b/etc/zfs/Makefile.am
+@@ -5,5 +5,3 @@ pkgsysconf_DATA = \
+       zdev.conf.supermicro.example \
+       zdev.conf.dragon.example \
+       zdev.conf.x4550.example
+-
+-EXTRA_DIST = $(pkgsysconf_DATA)
+diff --git a/man/man8/Makefile.am b/man/man8/Makefile.am
+index 8f0227f..4f39bb3 100644
+--- a/man/man8/Makefile.am
++++ b/man/man8/Makefile.am
+@@ -1,5 +1,4 @@
+ man_MANS = zdb.8 zfs.8 zpool.8
+-EXTRA_DIST = $(man_MANS)
+ install-data-local:
+       $(INSTALL) -d -m 0755 "$(DESTDIR)$(mandir)/man8"
+diff --git a/scripts/Makefile.am b/scripts/Makefile.am
+index 3dc1e67..aad0cd4 100644
+--- a/scripts/Makefile.am
++++ b/scripts/Makefile.am
+@@ -1,7 +1,7 @@
+ SUBDIRS = zpool-config zpool-layout zpios-test zpios-profile
+ pkglibexecdir = $(libexecdir)/@PACKAGE@
+-dist_pkglibexec_SCRIPTS = \
++nodist_pkglibexec_SCRIPTS = \
+       $(top_builddir)/scripts/common.sh \
+       $(top_srcdir)/scripts/zconfig.sh \
+       $(top_srcdir)/scripts/zfault.sh \
+diff --git a/scripts/zpios-profile/Makefile.am b/scripts/zpios-profile/Makefile.am
+index 403c020..4cfb343 100644
+--- a/scripts/zpios-profile/Makefile.am
++++ b/scripts/zpios-profile/Makefile.am
+@@ -1,5 +1,5 @@
+ pkglibexecdir = $(libexecdir)/@PACKAGE@/zpios-profile
+-dist_pkglibexec_SCRIPTS = \
++nodist_pkglibexec_SCRIPTS = \
+       $(top_srcdir)/scripts/zpios-profile/zpios-profile-disk.sh \
+       $(top_srcdir)/scripts/zpios-profile/zpios-profile-pids.sh \
+       $(top_srcdir)/scripts/zpios-profile/zpios-profile-post.sh \
+diff --git a/scripts/zpios-test/Makefile.am b/scripts/zpios-test/Makefile.am
+index 54935b4..54336d5 100644
+--- a/scripts/zpios-test/Makefile.am
++++ b/scripts/zpios-test/Makefile.am
+@@ -1,5 +1,5 @@
+ pkglibexecdir = $(libexecdir)/@PACKAGE@/zpios-test
+-dist_pkglibexec_SCRIPTS = \
++nodist_pkglibexec_SCRIPTS = \
+       $(top_srcdir)/scripts/zpios-test/16th-8192rc-4rs-1cs-4off.sh \
+       $(top_srcdir)/scripts/zpios-test/1th-16rc-4rs-1cs-4off.sh \
+       $(top_srcdir)/scripts/zpios-test/1x256th-65536rc-4rs-1cs-4off.sh \
+diff --git a/scripts/zpool-config/Makefile.am b/scripts/zpool-config/Makefile.am
+index 87f58bb..7973114 100644
+--- a/scripts/zpool-config/Makefile.am
++++ b/scripts/zpool-config/Makefile.am
+@@ -1,5 +1,5 @@
+ pkglibexecdir = $(libexecdir)/@PACKAGE@/zpool-config
+-dist_pkglibexec_SCRIPTS = \
++nodist_pkglibexec_SCRIPTS = \
+       $(top_srcdir)/scripts/zpool-config/dm0-raid0.sh \
+       $(top_srcdir)/scripts/zpool-config/file-raid0.sh \
+       $(top_srcdir)/scripts/zpool-config/file-raid10.sh \
+diff --git a/scripts/zpool-layout/Makefile.am b/scripts/zpool-layout/Makefile.am
+index 3eef241..ede02d0 100644
+--- a/scripts/zpool-layout/Makefile.am
++++ b/scripts/zpool-layout/Makefile.am
+@@ -1,5 +1,5 @@
+ pkglibexecdir = $(libexecdir)/@PACKAGE@/zpool-layout
+-dist_pkglibexec_SCRIPTS = \
++nodist_pkglibexec_SCRIPTS = \
+       $(top_srcdir)/scripts/zpool-layout/dragon.ddn.conf \
+       $(top_srcdir)/scripts/zpool-layout/dragon.llnl.conf
+diff --git a/udev/rules.d/Makefile.am b/udev/rules.d/Makefile.am
+index bb4eedf..1ba68a2 100644
+--- a/udev/rules.d/Makefile.am
++++ b/udev/rules.d/Makefile.am
+@@ -3,11 +3,6 @@ udevrule_DATA = \
+       $(top_srcdir)/udev/rules.d/60-zvol.rules \
+       $(top_srcdir)/udev/rules.d/90-zfs.rules
+-EXTRA_DIST = \
+-      $(top_srcdir)/udev/rules.d/60-zpool.rules.in \
+-      $(top_srcdir)/udev/rules.d/60-zvol.rules.in \
+-      $(top_srcdir)/udev/rules.d/90-zfs.rules.in
+-
+ $(udevrule_DATA):
+       -$(SED) -e 's,@bindir\@,$(bindir),g' \
+               -e 's,@sbindir\@,$(sbindir),g' \
+-- 
+1.7.5.4
+
diff --git a/debian/patches/0006-Allow-GPT-EFI-vdev-replacement-in-boot-pools.patch b/debian/patches/0006-Allow-GPT-EFI-vdev-replacement-in-boot-pools.patch
new file mode 100644 (file)
index 0000000..a63c65b
--- /dev/null
@@ -0,0 +1,41 @@
+From 8dc0e4aa2be339f78db11bed9e341d7f46469bde Mon Sep 17 00:00:00 2001
+From: Darik Horn <dajhorn@vanadac.com>
+Date: Wed, 18 Jan 2012 12:28:11 -0600
+Subject: [PATCH 6/6] Allow GPT+EFI vdev replacement in boot pools.
+
+Commit zfsonlinux/zfs@57a4eddc4d5e1e6c10d8d7dcf87a9fc27398adcd
+allows the bootfs property to be set on any pool, but does not
+accommodate subsequent vdev changes. For example:
+
+       # zpool replace rpool /dev/sda /dev/sdb
+       operation not supported on this type of pool
+       property 'bootfs' is not supported on EFI labeled devices
+
+For non-Solaris builds, disable the check that emits this error.
+---
+ lib/libzfs/libzfs_pool.c |    2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/lib/libzfs/libzfs_pool.c b/lib/libzfs/libzfs_pool.c
+index 9213101..1c8286f 100644
+--- a/lib/libzfs/libzfs_pool.c
++++ b/lib/libzfs/libzfs_pool.c
+@@ -490,6 +490,7 @@ zpool_valid_proplist(libzfs_handle_t *hdl, const char *poolname,
+                       verify(nvlist_lookup_nvlist(zpool_get_config(zhp, NULL),
+                           ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0);
++#if defined(__sun__) || defined(__sun)
+                       /*
+                        * bootfs property cannot be set on a disk which has
+                        * been EFI labeled.
+@@ -502,6 +503,7 @@ zpool_valid_proplist(libzfs_handle_t *hdl, const char *poolname,
+                               zpool_close(zhp);
+                               goto error;
+                       }
++#endif
+                       zpool_close(zhp);
+                       break;
+-- 
+1.7.5.4
+
diff --git a/debian/patches/README b/debian/patches/README
new file mode 100644 (file)
index 0000000..a807b96
--- /dev/null
@@ -0,0 +1,36 @@
+To add a patch:
+
+       $ git checkout debian-patches
+       $ git fetch <topic_branch>
+       $ git cherry-pick <commit>
+
+To remove a patch:
+
+       $ git checkout debian-patches
+       $ git rebase -i upstream
+       : delete the commit line in the interactive editor
+
+To reorder the series:
+
+       $ git checkout debian-patches
+       $ git rebase -i upstream
+       : rearrange the commit lines in the interactive editor
+
+To refresh the series for release:
+
+       $ git checkout master
+       $ cd debian/patches
+       $ rm 0*.patch
+       $ git format-patch upstream..debian-patches
+       $ ls -1 0*.patch volatile-version.patch >series
+
+The reasons for keeping debian/patches in a separate branch are:
+
+  * Using git to automatically rediff the patches is easier than using
+    `quilt refresh` and manually resolving conflicts.
+
+  * It is faster to pull and later discard experimental topic branches.
+
+  * It keeps the packaging master history clean and concise, and avoids
+    accidentally conflating the upstream master. Reverting a commit that
+    changed something outside of the debian/ overlay is ugly.
diff --git a/debian/patches/disable-dist-init.patch b/debian/patches/disable-dist-init.patch
deleted file mode 100644 (file)
index a912ddc..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-Index: b/etc/Makefile.am
-===================================================================
---- a/etc/Makefile.am
-+++ b/etc/Makefile.am
-@@ -1 +1 @@
--SUBDIRS = init.d udev zfs
-+SUBDIRS = udev zfs
-Index: b/etc/Makefile.in
-===================================================================
---- a/etc/Makefile.in
-+++ b/etc/Makefile.in
-@@ -301,7 +301,7 @@
- top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--SUBDIRS = init.d udev zfs
-+SUBDIRS = udev zfs
- all: all-recursive
- .SUFFIXES:
-Index: b/configure.ac
-===================================================================
---- a/configure.ac
-+++ b/configure.ac
-@@ -60,7 +60,6 @@
-       etc/Makefile
-       etc/udev/Makefile
-       etc/udev/rules.d/Makefile
--      etc/init.d/Makefile
-       etc/zfs/Makefile
-       man/Makefile
-       man/man8/Makefile
-Index: b/configure
-===================================================================
---- a/configure
-+++ b/configure
-@@ -20555,7 +20555,7 @@
- $as_echo "$enable_debug" >&6; }
--ac_config_files="$ac_config_files Makefile dracut/Makefile dracut/90zfs/Makefile etc/Makefile etc/udev/Makefile etc/udev/rules.d/Makefile etc/init.d/Makefile etc/zfs/Makefile man/Makefile man/man8/Makefile lib/Makefile lib/libspl/Makefile lib/libspl/asm-generic/Makefile lib/libspl/asm-i386/Makefile lib/libspl/asm-x86_64/Makefile lib/libspl/include/Makefile lib/libspl/include/ia32/Makefile lib/libspl/include/ia32/sys/Makefile lib/libspl/include/rpc/Makefile lib/libspl/include/sys/Makefile lib/libspl/include/sys/sysevent/Makefile lib/libspl/include/sys/dktp/Makefile lib/libspl/include/util/Makefile lib/libavl/Makefile lib/libefi/Makefile lib/libnvpair/Makefile lib/libunicode/Makefile lib/libuutil/Makefile lib/libzpool/Makefile lib/libzfs/Makefile lib/libshare/Makefile cmd/Makefile cmd/zdb/Makefile cmd/zfs/Makefile cmd/zinject/Makefile cmd/zpool/Makefile cmd/ztest/Makefile cmd/zpios/Makefile cmd/mount_zfs/Makefile cmd/zpool_layout/Makefile cmd/zvol_id/Makefile cmd/zpool_id/Makefile cmd/sas_switch_id/Makefile module/Makefile module/avl/Makefile module/nvpair/Makefile module/unicode/Makefile module/zcommon/Makefile module/zfs/Makefile module/zpios/Makefile include/Makefile include/linux/Makefile include/sys/Makefile include/sys/fs/Makefile include/sys/fm/Makefile include/sys/fm/fs/Makefile scripts/Makefile scripts/zpios-profile/Makefile scripts/zpios-test/Makefile scripts/zpool-config/Makefile scripts/zpool-layout/Makefile scripts/common.sh zfs.spec zfs-modules.spec zfs-script-config.sh"
-+ac_config_files="$ac_config_files Makefile dracut/Makefile dracut/90zfs/Makefile etc/Makefile etc/udev/Makefile etc/udev/rules.d/Makefile etc/zfs/Makefile man/Makefile man/man8/Makefile lib/Makefile lib/libspl/Makefile lib/libspl/asm-generic/Makefile lib/libspl/asm-i386/Makefile lib/libspl/asm-x86_64/Makefile lib/libspl/include/Makefile lib/libspl/include/ia32/Makefile lib/libspl/include/ia32/sys/Makefile lib/libspl/include/rpc/Makefile lib/libspl/include/sys/Makefile lib/libspl/include/sys/sysevent/Makefile lib/libspl/include/sys/dktp/Makefile lib/libspl/include/util/Makefile lib/libavl/Makefile lib/libefi/Makefile lib/libnvpair/Makefile lib/libunicode/Makefile lib/libuutil/Makefile lib/libzpool/Makefile lib/libzfs/Makefile lib/libshare/Makefile cmd/Makefile cmd/zdb/Makefile cmd/zfs/Makefile cmd/zinject/Makefile cmd/zpool/Makefile cmd/ztest/Makefile cmd/zpios/Makefile cmd/mount_zfs/Makefile cmd/zpool_layout/Makefile cmd/zvol_id/Makefile cmd/zpool_id/Makefile cmd/sas_switch_id/Makefile module/Makefile module/avl/Makefile module/nvpair/Makefile module/unicode/Makefile module/zcommon/Makefile module/zfs/Makefile module/zpios/Makefile include/Makefile include/linux/Makefile include/sys/Makefile include/sys/fs/Makefile include/sys/fm/Makefile include/sys/fm/fs/Makefile scripts/Makefile scripts/zpios-profile/Makefile scripts/zpios-test/Makefile scripts/zpool-config/Makefile scripts/zpool-layout/Makefile scripts/common.sh zfs.spec zfs-modules.spec zfs-script-config.sh"
- cat >confcache <<\_ACEOF
-@@ -21477,7 +21477,6 @@
-     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
-     "etc/udev/Makefile") CONFIG_FILES="$CONFIG_FILES etc/udev/Makefile" ;;
-     "etc/udev/rules.d/Makefile") CONFIG_FILES="$CONFIG_FILES etc/udev/rules.d/Makefile" ;;
--    "etc/init.d/Makefile") CONFIG_FILES="$CONFIG_FILES etc/init.d/Makefile" ;;
-     "etc/zfs/Makefile") CONFIG_FILES="$CONFIG_FILES etc/zfs/Makefile" ;;
-     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
-     "man/man8/Makefile") CONFIG_FILES="$CONFIG_FILES man/man8/Makefile" ;;
diff --git a/debian/patches/disable-dist-scripts.patch b/debian/patches/disable-dist-scripts.patch
deleted file mode 100644 (file)
index 80d9cca..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-Index: b/scripts/Makefile.am
-===================================================================
---- a/scripts/Makefile.am
-+++ b/scripts/Makefile.am
-@@ -1,4 +1,4 @@
--SUBDIRS = zpool-config zpool-layout zpios-test zpios-profile
-+SUBDIRS = zpool-config zpios-test zpios-profile
- pkglibexecdir = $(libexecdir)/@PACKAGE@
- dist_pkglibexec_SCRIPTS = \
-Index: b/Makefile.am
-===================================================================
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -4,7 +4,7 @@
- include $(top_srcdir)/config/arch.am
- if CONFIG_USER
--USER_DIR = dracut udev etc man scripts lib cmd
-+USER_DIR = dracut udev etc man lib cmd
- endif
- if CONFIG_KERNEL
- KERNEL_DIR = module
-Index: b/Makefile.in
-===================================================================
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -142,7 +142,7 @@
-       distdir dist dist-all distcheck
- ETAGS = etags
- CTAGS = ctags
--DIST_SUBDIRS = dracut udev etc man scripts lib cmd module include
-+DIST_SUBDIRS = dracut udev etc man lib cmd module include
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- distdir = $(PACKAGE)-$(VERSION)
- top_distdir = $(distdir)
-@@ -355,7 +355,7 @@
- top_srcdir = @top_srcdir@
- udevdir = @udevdir@
- udevruledir = @udevruledir@
--@CONFIG_USER_TRUE@USER_DIR = dracut udev etc man scripts lib cmd
-+@CONFIG_USER_TRUE@USER_DIR = dracut udev etc man lib cmd
- @CONFIG_KERNEL_TRUE@KERNEL_DIR = module
- SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include
- AUTOMAKE_OPTIONS = foreign
-Index: b/scripts/Makefile.in
-===================================================================
---- a/scripts/Makefile.in
-+++ b/scripts/Makefile.in
-@@ -340,7 +340,7 @@
- top_srcdir = @top_srcdir@
- udevdir = @udevdir@
- udevruledir = @udevruledir@
--SUBDIRS = zpool-config zpool-layout zpios-test zpios-profile
-+SUBDIRS = zpool-config zpios-test zpios-profile
- dist_pkglibexec_SCRIPTS = \
-       $(top_builddir)/scripts/common.sh \
-       $(top_srcdir)/scripts/zconfig.sh \
diff --git a/debian/patches/lintian-COPYING.patch b/debian/patches/lintian-COPYING.patch
deleted file mode 100644 (file)
index 9063ffd..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: b/Makefile.in
-===================================================================
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -55,7 +55,7 @@
-       $(top_srcdir)/module/unicode/Makefile.in \
-       $(top_srcdir)/module/zcommon/Makefile.in \
-       $(top_srcdir)/module/zfs/Makefile.in \
--      $(top_srcdir)/module/zpios/Makefile.in AUTHORS COPYING \
-+      $(top_srcdir)/module/zpios/Makefile.in AUTHORS \
-       ChangeLog config/config.guess config/config.sub config/depcomp \
-       config/install-sh config/ltmain.sh config/missing
- subdir = .
diff --git a/debian/patches/lintian-ltmain.patch b/debian/patches/lintian-ltmain.patch
deleted file mode 100644 (file)
index bd46cbe..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Index: b/config/ltmain.sh
-===================================================================
---- a/config/ltmain.sh
-+++ b/config/ltmain.sh
-@@ -1,3 +1,5 @@
-+#!/bin/sh
-+
- # Generated from ltmain.m4sh.
- # ltmain.sh (GNU libtool) 2.2.6b
index 7819ffda829ae4c9345b59047933987dec031f71..9209b827d90f254350d35fa0d33e11631dadc042 100644 (file)
@@ -1,7 +1,7 @@
+0001-Prevent-manual-builds-in-the-DKMS-source.patch
+0002-Remove-the-COPYING-file.patch
+0003-Remove-all-upstream-init.d-components.patch
+0004-Remove-the-upstream-dracut-component.patch
+0005-Remove-userland-dist-rules.patch
+0006-Allow-GPT-EFI-vdev-replacement-in-boot-pools.patch
 volatile-version.patch
-#disable-dist-init.patch
-disable-dist-scripts.patch
-lintian-COPYING.patch
-lintian-ltmain.patch
-0001-Use-bin-bash-to-invoke-dracut-scripts.patch
-0002-Allow-setting-bootfs-on-any-pool.patch