ZFSBootMenu v1.4
ZFSBootMenu 1.4 includes significant internal changes and some user-visible functional changes in the generate-zbm
script.
Fixes
- Correct an issue that required two attempts to set default boot environments.
- Internal improvements to
generate-zbm
to improve consistency and facilitate future development. - Management of versioned image retention should now be more consistent with expectation. Versioned ZBM images now increment a revision number when existing images with the same version already exist, and the retention policy preserves a configurable number of revisions for the current version alongside the latest revision of each of the same number of prior versions.
- Improved error handling should make failures in
generate-zbm
easier to understand.
New features
- Provide man pages (
generate-zbm.5
,generate-zbm.8
andzfsbootmenu.7
) to document the creation and use of ZFSBootMenu images. - Move from an INI configuration format to YAML, which should provide more flexibility for future enhancements.
- Provide a
--migrate
command-line option to convert existing INI configurations to the new format. - Add configuration options to change default behavior for
--kernel
,--kver
and--prefix
to makegenerate-zbm
easier to incorporate on non-Void systems. - Add a configuration option to change the default behavior for
--version
to allow customized output versioning of images. - Support string interpolation of
%current
or%{current}
tags in--kver
and--version
values. - Add a
--cmdline
command-line option to override the configuredCommandLine
value without editing the configuration file.
Significant commits in this release
0979051 - Add documentation for generate-zbm, its config and initramfs options (Zach Dykstra, et al.)
ee1d9d8 - Unmask import_args in functions calling import_pool (Zach Dykstra)
3b2b2f0 - Add explicit --migrate option to generate-zbm (Andrew J. Hesford)
3cd3a8e - Improve error handling and automatic config conversion (Andrew J. Hesford)
80e0c30 - Switch syslinux entry to heredoc, fix syslinux.cfg file copy (Zach Dykstra)
6351226 - Move to YAML configuration, improve version handling (Andrew J. Hesford, Zach Dykstra)
5fdb872 - Add configuration options for kernel, version and prefix (Andrew J. Hesford)
79295ec - Add an optional parameter to safeCopy: (Zach Dykstra)
8aa133f - Clean up control flow in generate-zbm (Andrew J. Hesford)