home: hub: mkinitfs

Download patch

ref: f54d1a969854d6f71933cdc67d933fe869aef915
parent: 981c09d7ddc63b1a9432e7e9852dda2584c02816
parent: 156b697a87a92a18e58e29466931b4b102654dc7
author: Natanael Copa <ncopa@alpinelinux.org>
date: Tue Dec 22 05:22:24 CST 2020

Merge branch 'prepare_zfs_root-fix' into 'master'

Fix typo in prepare_zfs_root().

See merge request alpine/mkinitfs!72

--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -282,7 +282,7 @@
 # Do some tasks to make sure mounting the ZFS pool is A-OK
 prepare_zfs_root() {
 	local _root_vol=${KOPT_root#ZFS=}
-	local _root_pool=${_rool_vol%%/*}
+	local _root_pool=${_root_vol%%/*}
 
 	# Force import if this has been imported on a different system previously
 	if [ "$KOPT_zfs_force" = 1 ]; then