Replacement of zlevis-fetch #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
zlevis-fetchscript uses the following line to find the "root"-pool, while it generally works, it may be an unnecessary step as theinitramfsalready knows the relevant root-pool.3344160e52/src/zlevis-fetch (L22)Additionally,
zlevis-fetchwill not work if for some reason there are multiple pools, but in theinitramfsthis would generally be not the case, right @nils?This issue is of course related to issue #2.
The
zlevis-fetchscript has been replaced byzlevis, particularly in theinitramfs-initofmkinitfsthis will result inin
prepare_zfs_root(). Which by default uses the pool that has been deemed the root by the initramfs configuration, nullifying the earlier posed problem.