mirror of
https://aur.archlinux.org/zfs-utils.git
synced 2025-08-11 23:55:26 +02:00
Update initcpio files to handle encryption, etc.
This commit is contained in:
@@ -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,9 @@ 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() {
|
||||
|
Reference in New Issue
Block a user