summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac4
-rw-r--r--contrib/Makefile.am4
-rw-r--r--contrib/dracut/90zfs/.gitignore (renamed from dracut/90zfs/.gitignore)0
-rw-r--r--contrib/dracut/90zfs/Makefile.am25
-rwxr-xr-xcontrib/dracut/90zfs/export-zfs.sh.in (renamed from dracut/90zfs/export-zfs.sh.in)0
-rwxr-xr-xcontrib/dracut/90zfs/module-setup.sh.in (renamed from dracut/90zfs/module-setup.sh.in)0
-rwxr-xr-xcontrib/dracut/90zfs/mount-zfs.sh.in (renamed from dracut/90zfs/mount-zfs.sh.in)0
-rwxr-xr-xcontrib/dracut/90zfs/parse-zfs.sh.in (renamed from dracut/90zfs/parse-zfs.sh.in)0
-rwxr-xr-xcontrib/dracut/90zfs/zfs-lib.sh.in (renamed from dracut/90zfs/zfs-lib.sh.in)0
-rw-r--r--contrib/dracut/Makefile.am (renamed from dracut/Makefile.am)0
-rw-r--r--contrib/dracut/README.dracut.markdown (renamed from dracut/README.dracut.markdown)0
-rw-r--r--dracut/90zfs/Makefile.am25
-rw-r--r--rpm/generic/zfs.spec.in2
14 files changed, 31 insertions, 31 deletions
diff --git a/Makefile.am b/Makefile.am
index 788122d2a..10c87ddcd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,7 @@ include $(top_srcdir)/config/tgz.am
SUBDIRS = include rpm
if CONFIG_USER
-SUBDIRS += dracut udev etc man scripts lib cmd contrib
+SUBDIRS += udev etc man scripts lib cmd contrib
endif
if CONFIG_KERNEL
SUBDIRS += module
diff --git a/configure.ac b/configure.ac
index 0e79a491c..9907857e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,8 +58,6 @@ ZFS_AC_DEBUG_DMU_TX
AC_CONFIG_FILES([
Makefile
- dracut/Makefile
- dracut/90zfs/Makefile
udev/Makefile
udev/rules.d/Makefile
etc/Makefile
@@ -115,6 +113,8 @@ AC_CONFIG_FILES([
cmd/zed/Makefile
contrib/Makefile
contrib/bash_completion.d/Makefile
+ contrib/dracut/Makefile
+ contrib/dracut/90zfs/Makefile
contrib/initramfs/Makefile
module/Makefile
module/avl/Makefile
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 4a13cfa98..b05e5c45b 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -1,2 +1,2 @@
-SUBDIRS = bash_completion.d initramfs
-DIST_SUBDIRS = bash_completion.d initramfs
+SUBDIRS = bash_completion.d dracut initramfs
+DIST_SUBDIRS = bash_completion.d dracut initramfs
diff --git a/dracut/90zfs/.gitignore b/contrib/dracut/90zfs/.gitignore
index 9502be985..9502be985 100644
--- a/dracut/90zfs/.gitignore
+++ b/contrib/dracut/90zfs/.gitignore
diff --git a/contrib/dracut/90zfs/Makefile.am b/contrib/dracut/90zfs/Makefile.am
new file mode 100644
index 000000000..30880bfc5
--- /dev/null
+++ b/contrib/dracut/90zfs/Makefile.am
@@ -0,0 +1,25 @@
+pkgdracutdir = $(dracutdir)/modules.d/90zfs
+pkgdracut_SCRIPTS = \
+ $(top_srcdir)/contrib/dracut/90zfs/export-zfs.sh \
+ $(top_srcdir)/contrib/dracut/90zfs/module-setup.sh \
+ $(top_srcdir)/contrib/dracut/90zfs/mount-zfs.sh \
+ $(top_srcdir)/contrib/dracut/90zfs/parse-zfs.sh \
+ $(top_srcdir)/contrib/dracut/90zfs/zfs-lib.sh
+
+EXTRA_DIST = \
+ $(top_srcdir)/contrib/dracut/90zfs/export-zfs.sh.in \
+ $(top_srcdir)/contrib/dracut/90zfs/module-setup.sh.in \
+ $(top_srcdir)/contrib/dracut/90zfs/mount-zfs.sh.in \
+ $(top_srcdir)/contrib/dracut/90zfs/parse-zfs.sh.in \
+ $(top_srcdir)/contrib/dracut/90zfs/zfs-lib.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' \
+
+distclean-local::
+ -$(RM) $(pkgdracut_SCRIPTS)
diff --git a/dracut/90zfs/export-zfs.sh.in b/contrib/dracut/90zfs/export-zfs.sh.in
index 393753fbf..393753fbf 100755
--- a/dracut/90zfs/export-zfs.sh.in
+++ b/contrib/dracut/90zfs/export-zfs.sh.in
diff --git a/dracut/90zfs/module-setup.sh.in b/contrib/dracut/90zfs/module-setup.sh.in
index 9eb9f5765..9eb9f5765 100755
--- a/dracut/90zfs/module-setup.sh.in
+++ b/contrib/dracut/90zfs/module-setup.sh.in
diff --git a/dracut/90zfs/mount-zfs.sh.in b/contrib/dracut/90zfs/mount-zfs.sh.in
index 2abc8766b..2abc8766b 100755
--- a/dracut/90zfs/mount-zfs.sh.in
+++ b/contrib/dracut/90zfs/mount-zfs.sh.in
diff --git a/dracut/90zfs/parse-zfs.sh.in b/contrib/dracut/90zfs/parse-zfs.sh.in
index c305c7821..c305c7821 100755
--- a/dracut/90zfs/parse-zfs.sh.in
+++ b/contrib/dracut/90zfs/parse-zfs.sh.in
diff --git a/dracut/90zfs/zfs-lib.sh.in b/contrib/dracut/90zfs/zfs-lib.sh.in
index 1c223befd..1c223befd 100755
--- a/dracut/90zfs/zfs-lib.sh.in
+++ b/contrib/dracut/90zfs/zfs-lib.sh.in
diff --git a/dracut/Makefile.am b/contrib/dracut/Makefile.am
index 35b88c36f..35b88c36f 100644
--- a/dracut/Makefile.am
+++ b/contrib/dracut/Makefile.am
diff --git a/dracut/README.dracut.markdown b/contrib/dracut/README.dracut.markdown
index 46d032f70..46d032f70 100644
--- a/dracut/README.dracut.markdown
+++ b/contrib/dracut/README.dracut.markdown
diff --git a/dracut/90zfs/Makefile.am b/dracut/90zfs/Makefile.am
deleted file mode 100644
index 650953c1b..000000000
--- a/dracut/90zfs/Makefile.am
+++ /dev/null
@@ -1,25 +0,0 @@
-pkgdracutdir = $(dracutdir)/modules.d/90zfs
-pkgdracut_SCRIPTS = \
- $(top_srcdir)/dracut/90zfs/export-zfs.sh \
- $(top_srcdir)/dracut/90zfs/module-setup.sh \
- $(top_srcdir)/dracut/90zfs/mount-zfs.sh \
- $(top_srcdir)/dracut/90zfs/parse-zfs.sh \
- $(top_srcdir)/dracut/90zfs/zfs-lib.sh
-
-EXTRA_DIST = \
- $(top_srcdir)/dracut/90zfs/export-zfs.sh.in \
- $(top_srcdir)/dracut/90zfs/module-setup.sh.in \
- $(top_srcdir)/dracut/90zfs/mount-zfs.sh.in \
- $(top_srcdir)/dracut/90zfs/parse-zfs.sh.in \
- $(top_srcdir)/dracut/90zfs/zfs-lib.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' \
-
-distclean-local::
- -$(RM) $(pkgdracut_SCRIPTS)
diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in
index 50b61f010..68bc00192 100644
--- a/rpm/generic/zfs.spec.in
+++ b/rpm/generic/zfs.spec.in
@@ -313,7 +313,7 @@ exit 0
%{_datadir}/%{name}
%files dracut
-%doc dracut/README.dracut.markdown
+%doc contrib/dracut/README.dracut.markdown
%{_dracutdir}/modules.d/*
%if 0%{?_initramfs}