X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=dracut%2F90zfs%2Fmodule-setup.sh.in;h=6eb6843819aa43e0202ff7e0fabf657815b77ea8;hb=refs%2Fheads%2Frertzinger%2Ffeature-zpool-get--p;hp=23ebc3612e5d31639ca54d746da703a1ce4afcf1;hpb=dbf763b39b232996f0d6bb0022e4446643c18e05;p=zfs.git diff --git a/dracut/90zfs/module-setup.sh.in b/dracut/90zfs/module-setup.sh.in index 23ebc36..6eb6843 100755 --- a/dracut/90zfs/module-setup.sh.in +++ b/dracut/90zfs/module-setup.sh.in @@ -29,9 +29,8 @@ installkernel() { install() { inst_rules @udevruledir@/90-zfs.rules - inst_rules @udevruledir@/60-zpool.rules + inst_rules @udevruledir@/69-vdev.rules inst_rules @udevruledir@/60-zvol.rules - inst @sysconfdir@/zfs/zpool.cache dracut_install @sbindir@/zfs dracut_install @sbindir@/zpool dracut_install @udevdir@/vdev_id @@ -41,6 +40,10 @@ install() { inst_hook cmdline 95 "$moddir/parse-zfs.sh" inst_hook mount 98 "$moddir/mount-zfs.sh" + if [ -e @sysconfdir@/zfs/zpool.cache ]; then + inst @sysconfdir@/zfs/zpool.cache + fi + # Synchronize initramfs and system hostid TMP=`mktemp` AA=`hostid | cut -b 1,2`