summaryrefslogtreecommitdiff
path: root/zfs.initcpio.install
diff options
context:
space:
mode:
authorIacopo Isimbaldi <isiachi@rhye.it>2016-09-20 21:38:28 +0100
committerIacopo Isimbaldi <isiachi@rhye.it>2016-09-20 21:38:28 +0100
commit2afdc11d69ec6a2099f6447e4a45ef9423c8df19 (patch)
treef7e515cce475a514f4335ad08941eb48c909c2e3 /zfs.initcpio.install
parentUpdated to pkgver 0.6.5.8 (diff)
downloadzfs-dkms-2afdc11d69ec6a2099f6447e4a45ef9423c8df19.tar.xz
Updated to pkgrel 2
Updated hook files (thanks to archzfs)
Diffstat (limited to 'zfs.initcpio.install')
-rw-r--r--zfs.initcpio.install15
1 files changed, 10 insertions, 5 deletions
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