commit:     cd6555b521d3e62b982ef53e798ea8cf0152b82d
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 26 23:00:33 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 23:00:33 2021 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=cd6555b5

gen_initramfs.sh: append_zfs(): Copy /etc/zfs/vdev_id.conf

Used by vdev_id UDEV helper.

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 gen_initramfs.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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

Reply via email to