From 10afe26c76d9a32ed654308ae92c40023b1638fc Mon Sep 17 00:00:00 2001 From: aqua Date: Sat, 25 Nov 2023 10:46:08 +0200 Subject: Updated to 2.1.13 --- zfs.initcpio.install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'zfs.initcpio.install') diff --git a/zfs.initcpio.install b/zfs.initcpio.install index 589b46b..27e11f5 100644 --- a/zfs.initcpio.install +++ b/zfs.initcpio.install @@ -22,7 +22,8 @@ build() { zstreamdump \ /lib/udev/vdev_id \ /lib/udev/zvol_id \ - findmnt + findmnt \ + udevadm map add_file \ /lib/udev/rules.d/60-zvol.rules \ @@ -38,9 +39,10 @@ build() { # allow mount(8) to "autodetect" ZFS echo 'zfs' >>"${BUILDROOT}/etc/filesystems" - [[ -f /etc/zfs/zpool.cache ]] && add_file "/etc/zfs/zpool.cache" + [[ -f /etc/zfs/zpool.cache ]] && cp "/etc/zfs/zpool.cache" "${BUILDROOT}/etc/zfs/zpool.cache.org" [[ -f /etc/modprobe.d/zfs.conf ]] && add_file "/etc/modprobe.d/zfs.conf" [[ -f /etc/hostid ]] && add_file "/etc/hostid" + [[ -f /etc/fstab ]] && add_file "/etc/fstab" } help() { -- cgit v1.2.1