diff options
Diffstat (limited to 'dracut/90zfs')
-rw-r--r-- | dracut/90zfs/90-zfs.rules | 10 | ||||
-rw-r--r-- | dracut/90zfs/Makefile.am | 1 | ||||
-rw-r--r-- | dracut/90zfs/Makefile.in | 1 | ||||
-rwxr-xr-x | dracut/90zfs/module-setup.sh | 2 |
4 files changed, 1 insertions, 13 deletions
diff --git a/dracut/90zfs/90-zfs.rules b/dracut/90zfs/90-zfs.rules deleted file mode 100644 index 52e1d6393..000000000 --- a/dracut/90zfs/90-zfs.rules +++ /dev/null @@ -1,10 +0,0 @@ -SUBSYSTEM!="block", GOTO="zfs_end" -ACTION!="add|change", GOTO="zfs_end" - -ENV{ID_FS_TYPE}=="zfs", RUN+="/sbin/modprobe zfs" -ENV{ID_FS_TYPE}=="zfs_member", RUN+="/sbin/modprobe zfs" - -KERNEL=="null", SYMLINK+="root" -SYMLINK=="null", SYMLINK+="root" - -LABEL="zfs_end" diff --git a/dracut/90zfs/Makefile.am b/dracut/90zfs/Makefile.am index 605654c23..44aaf61b2 100644 --- a/dracut/90zfs/Makefile.am +++ b/dracut/90zfs/Makefile.am @@ -1,6 +1,5 @@ pkgdracutdir = $(datadir)/dracut/modules.d/90zfs dist_pkgdracut_SCRIPTS = \ - $(top_srcdir)/dracut/90zfs/90-zfs.rules \ $(top_srcdir)/dracut/90zfs/module-setup.sh \ $(top_srcdir)/dracut/90zfs/mount-zfs.sh \ $(top_srcdir)/dracut/90zfs/parse-zfs.sh diff --git a/dracut/90zfs/Makefile.in b/dracut/90zfs/Makefile.in index b63595be0..009313047 100644 --- a/dracut/90zfs/Makefile.in +++ b/dracut/90zfs/Makefile.in @@ -293,7 +293,6 @@ udevdir = @udevdir@ udevruledir = @udevruledir@ pkgdracutdir = $(datadir)/dracut/modules.d/90zfs dist_pkgdracut_SCRIPTS = \ - $(top_srcdir)/dracut/90zfs/90-zfs.rules \ $(top_srcdir)/dracut/90zfs/module-setup.sh \ $(top_srcdir)/dracut/90zfs/mount-zfs.sh \ $(top_srcdir)/dracut/90zfs/parse-zfs.sh diff --git a/dracut/90zfs/module-setup.sh b/dracut/90zfs/module-setup.sh index 822f89988..23735e31e 100755 --- a/dracut/90zfs/module-setup.sh +++ b/dracut/90zfs/module-setup.sh @@ -28,7 +28,7 @@ installkernel() { } install() { - inst_rules "$moddir/90-zfs.rules" + inst_rules /lib/udev/rules.d/90-zfs.rules inst_rules /lib/udev/rules.d/60-zpool.rules inst_rules /lib/udev/rules.d/60-zvol.rules inst /etc/zfs/zdev.conf |