HomeFreeBSD

Fix `zfs:AUTO` autodetection in initramfs scripts

Description

Fix zfs:AUTO autodetection in initramfs scripts

Don't exit early in find_rootfs() when zpool.bootfs
is set to zfs:AUTO.

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes #12658

Details

Provenance
Damian Szuberski <30863496+szubersk@users.noreply.github.com>Authored on Nov 13 2021, 3:02 PM
GitHub <noreply@github.com>Committed on Nov 13 2021, 3:02 PM
Parents
rGac32854a6eef: Remove (now unused) td argument from zfs_lookup()
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG8ac58c3f567a: Fix `zfs:AUTO` autodetection in initramfs scripts (authored by Damian Szuberski <30863496+szubersk@users.noreply.github.com>).Nov 13 2021, 3:02 PM