The source project of this merge request has been removed.
Import the pool without mounting any file systems.
This will solve aports/issues/12176 (as well as #9 (closed) I opened in this project).
However, you will still get
cannot import 'zpool': pool already exists
cannot import 'zpool': a pool with that name already exists
use the form 'zpool import <pool | id> <newpool>' to give it a new name
due to import attempts in initramfs-init#291.