zfs/contrib/initramfs/scripts
наб 55419e0a72 i-t: fix root=zfs:AUTO
IFS= would break loops in import_pool(), which would fault
any automatic import

Additionally $ZFS_BOOTFS from cmdline would interfere with find_rootfs()

If many pools were present, same thing could happen across multiple
find_rootfs() runs, so bail out early and clean up in error path

Suggested-by: @nachtgeist
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11278
Closes #11838
2021-04-06 18:28:38 -07:00
..
local-top Cleanup contrib/initramfs automake 2020-05-07 16:39:08 -07:00
.gitignore contrib/initramfs: switch to automake 2017-11-07 14:53:57 -08:00
Makefile.am initramfs: Eliminate substitutions 2020-03-10 09:53:20 -07:00
zfs i-t: fix root=zfs:AUTO 2021-04-06 18:28:38 -07:00