From 2afdc11d69ec6a2099f6447e4a45ef9423c8df19 Mon Sep 17 00:00:00 2001 From: Iacopo Isimbaldi Date: Tue, 20 Sep 2016 21:38:28 +0100 Subject: Updated to pkgrel 2 Updated hook files (thanks to archzfs) --- zfs.initcpio.install | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'zfs.initcpio.install') diff --git a/zfs.initcpio.install b/zfs.initcpio.install index c128d10..19364a3 100644 --- a/zfs.initcpio.install +++ b/zfs.initcpio.install @@ -17,6 +17,7 @@ build() { dbufstat.py \ fsck.zfs \ mount.zfs \ + seq \ zdb \ zed \ zfs \ @@ -27,14 +28,15 @@ build() { zstreamdump \ ztest \ splat \ - hostid \ /lib/udev/vdev_id \ - /lib/udev/zvol_id + /lib/udev/zvol_id \ + findmnt map add_file \ /lib/udev/rules.d/60-zvol.rules \ /lib/udev/rules.d/69-vdev.rules \ - /lib/udev/rules.d/90-zfs.rules + /lib/udev/rules.d/90-zfs.rules \ + /lib/libgcc_s.so.1 map add_dir \ /etc/zfs/zed.d @@ -42,11 +44,10 @@ build() { add_runscript # allow mount(8) to "autodetect" ZFS - echo 'zfs' >>"$BUILDROOT/etc/filesystems" + echo 'zfs' >>"${BUILDROOT}/etc/filesystems" [[ -f /etc/zfs/zpool.cache ]] && add_file "/etc/zfs/zpool.cache" [[ -f /etc/modprobe.d/zfs.conf ]] && add_file "/etc/modprobe.d/zfs.conf" - [[ -f /etc/hostid ]] && add_file "/etc/hostid" } help() { @@ -73,6 +74,10 @@ Command Line Setup: If set to 1, this will use "zpool import -f" when attempting to import pools. + To change the seconds of time to wait for ZFS devices to show up at boot: + + zfs_wait=30 + To search for devices in a directory other than "/dev": zfs_import_dir=/dev/disk/by-uuid -- cgit v1.2.1