]> granicus.if.org Git - zfs/commitdiff
Move dracut directory to contrib
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 9 Jul 2015 18:41:14 +0000 (11:41 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 9 Jul 2015 20:59:37 +0000 (13:59 -0700)
The dracut code is analogous to the initramfs code and as such
it should be located in the contrib with initramfs for consistency.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
14 files changed:
Makefile.am
configure.ac
contrib/Makefile.am
contrib/dracut/90zfs/.gitignore [moved from dracut/90zfs/.gitignore with 100% similarity]
contrib/dracut/90zfs/Makefile.am [new file with mode: 0644]
contrib/dracut/90zfs/export-zfs.sh.in [moved from dracut/90zfs/export-zfs.sh.in with 100% similarity]
contrib/dracut/90zfs/module-setup.sh.in [moved from dracut/90zfs/module-setup.sh.in with 100% similarity]
contrib/dracut/90zfs/mount-zfs.sh.in [moved from dracut/90zfs/mount-zfs.sh.in with 100% similarity]
contrib/dracut/90zfs/parse-zfs.sh.in [moved from dracut/90zfs/parse-zfs.sh.in with 100% similarity]
contrib/dracut/90zfs/zfs-lib.sh.in [moved from dracut/90zfs/zfs-lib.sh.in with 100% similarity]
contrib/dracut/Makefile.am [moved from dracut/Makefile.am with 100% similarity]
contrib/dracut/README.dracut.markdown [moved from dracut/README.dracut.markdown with 100% similarity]
dracut/90zfs/Makefile.am [deleted file]
rpm/generic/zfs.spec.in

index 788122d2aac9738d8355a04e4fd72b3fa02b4b11..10c87ddcd4b39214b9e04e12de21dc93a8791c2a 100644 (file)
@@ -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
index 0e79a491cdc5b24f43e2fdda07616153147c3b39..9907857e2e12844f78a26a61433f19a5827c2a3c 100644 (file)
@@ -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
index 4a13cfa98019205874a1bf80662ed9cba2523732..b05e5c45b3cdc91ad980a8f317ba342b7cdded74 100644 (file)
@@ -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/contrib/dracut/90zfs/Makefile.am b/contrib/dracut/90zfs/Makefile.am
new file mode 100644 (file)
index 0000000..30880bf
--- /dev/null
@@ -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' \
+               '$@.in' >'$@'
+
+distclean-local::
+       -$(RM) $(pkgdracut_SCRIPTS)
diff --git a/dracut/90zfs/Makefile.am b/dracut/90zfs/Makefile.am
deleted file mode 100644 (file)
index 650953c..0000000
+++ /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' \
-               '$@.in' >'$@'
-
-distclean-local::
-       -$(RM) $(pkgdracut_SCRIPTS)
index 50b61f01074be5657bd7f620270422426d723800..68bc001926521cd4615618327b252c02224cf871 100644 (file)
@@ -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}