ZFSBootMenu 1.4 includes significant internal changes and some user-visible functional changes in the generate-zbm
script.
Fixes
- 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
- 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:
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)