aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-03-27 00:00:33 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-03-27 00:00:33 +0100
commitcd6555b521d3e62b982ef53e798ea8cf0152b82d (patch)
tree74d6d21bcf567ffcca3a6ce235ca63e18b0ccff1
parentgen_initramfs.sh: append_zfs(): Update UDEV dir in UDEV rules (diff)
downloadgenkernel-cd6555b521d3e62b982ef53e798ea8cf0152b82d.tar.gz
genkernel-cd6555b521d3e62b982ef53e798ea8cf0152b82d.tar.bz2
genkernel-cd6555b521d3e62b982ef53e798ea8cf0152b82d.zip
gen_initramfs.sh: append_zfs(): Copy /etc/zfs/vdev_id.conf
Used by vdev_id UDEV helper. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rwxr-xr-xgen_initramfs.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/gen_initramfs.sh b/gen_initramfs.sh
index aedd038..b826f17 100755
--- a/gen_initramfs.sh
+++ b/gen_initramfs.sh
@@ -1067,7 +1067,8 @@ append_zfs() {
mkdir -p "${TDIR}"/etc/zfs || gen_die "Failed to create '${TDIR}/etc/zfs'!"
# Copy files to /etc/zfs
- for i in zdev.conf zpool.cache
+ local i
+ for i in vdev_id.conf zdev.conf zpool.cache
do
if [ -f /etc/zfs/${i} ]
then