New comment by adrian-bl on void-packages repository https://github.com/void-linux/void-packages/issues/37667#issuecomment-1165450907 Comment: Digging around, the issue seems to be in zfs-lib.sh overwriting `root` with an old value. I hacked up the following patch which fixes the issue for me: ``` --- zfs-lib.sh.orig 2022-06-24 12:46:00.250658147 +0200 +++ zfs-lib.sh 2022-06-24 12:39:42.823358632 +0200 @@ -87,11 +87,11 @@ return fi - root=$(getarg root=) + xroot=$(getarg root=) rootfstype=$(getarg rootfstype=) # shellcheck disable=SC2249 - case "$root" in + case "$xroot" in ""|zfs|zfs:|zfs:AUTO) root=zfs:AUTO rootfstype=zfs @@ -99,7 +99,7 @@ ;; ZFS=*|zfs:*) - root="${root#zfs:}" + root="${xroot#zfs:}" root="${root#ZFS=}" root=$(echo "$root" | tr '+' ' ') rootfstype=zfs ```