From fc4c396570a5336e4b0b35fdbf64c49b1ffb7fe4 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sun, 15 Nov 2020 22:09:50 -0500 Subject: [PATCH] Bump to version 1.7.0 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++-- bin/generate-zbm | 2 +- man/generate-zbm.5 | 4 ++-- man/generate-zbm.8 | 4 ++-- man/zfsbootmenu.7 | 2 +- 5 files changed, 34 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f4b10e..60ae7e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,29 @@ +# ZFSBootMenu v1.7.0 (2020-11-15) + +In addition to a bug fixes, this release targets refinements that improve usability and offer contextual help within the menus. + +## Fixes +* ZFSBootMenu now respects the `console` kernel command-line option and should behave as expected over a serial console. +* Command lists at the bottom of each menu are now sensibly wrapped to the terminal width, with extra coloring to highlight key combinations. +* Rather than rely solely on the `hostid(1)` command to populate the default hostid in the ZFSBootMenu initramfs, the dracut module will prefer to copy the `/etc/hostid` from the host, which should produce more consistent behavior on musl systems. +* Boot environments are now explicitly sorted, with the default boot environment appearing at the top of the list and selected by default. + +## New features +* An online help system, accessible from `alt-h` within any menu, provides descriptions of functionality provided by ZFSBootMenu. +* The description at the top of the menu now indicates whether the selected boot environment is on a pool currently imported readonly or writable. +* New command-line arguments `zbm.lines` and `zbm.columns` allow the size of the terminal at boot time. +* When `generate-zbm` fails to parse the YAML configuration, more detailed messages pinpoint parsing errors. + +## Significant commits in this release +dbe91a1 - Fix console handling when attached to a serial line (Andrew J. Hesford) +9959d10 - Respect ZFS hostid behavior on musl (Andrew J. Hesford) +f4a60e6 - Capture and print config.yaml eval failure (Zach Dykstra) +2ebad45 - Sort environments, fix preview (Zach Dykstra) +cc6e27c - Control size/target of ZFSBootMenu output (Zach Dykstra) +bb294b3 - Enable dynamic line wrapping for header (Zach Dykstra) +8993591 - Enable global help system (Zach Dykstra) +7879876 - Read-only helpers (Zach Dykstra) + # ZFSBootMenu v1.6.1 (2020-10-27) Revert omitting `rootfs-block` by default from the ZFSBootMenu initramfs. `rootfs-block` is a hard requirement of `crypt`, which is used to setup LUKS beneath ZFS. @@ -76,8 +102,8 @@ ZFSBootMenu 1.4 includes significant internal changes and some user-visible func ## 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) +* 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) diff --git a/bin/generate-zbm b/bin/generate-zbm index 1470655..218846d 100755 --- a/bin/generate-zbm +++ b/bin/generate-zbm @@ -4,7 +4,7 @@ use strict; use warnings; -our $VERSION = '1.6.1'; +our $VERSION = '1.7.0'; use Getopt::Long qw(:config no_ignore_case auto_version); use Pod::Usage qw(pod2usage); diff --git a/man/generate-zbm.5 b/man/generate-zbm.5 index ba6e040..8066067 100644 --- a/man/generate-zbm.5 +++ b/man/generate-zbm.5 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) +.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "generate-zbm 5" -.TH generate-zbm 5 "2020-10-03" "1.6.1" "config.yaml" +.TH generate-zbm 5 "2020-09-30" "1.7.0" "config.yaml" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff --git a/man/generate-zbm.8 b/man/generate-zbm.8 index 882ded6..95ce796 100644 --- a/man/generate-zbm.8 +++ b/man/generate-zbm.8 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) +.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "generate-zbm 8" -.TH generate-zbm 8 "2020-10-25" "1.6.1" "generate-zbm" +.TH generate-zbm 8 "2020-11-11" "1.7.0" "generate-zbm" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff --git a/man/zfsbootmenu.7 b/man/zfsbootmenu.7 index 1f44c3d..993f3a8 100644 --- a/man/zfsbootmenu.7 +++ b/man/zfsbootmenu.7 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "zfsbootmenu 7" -.TH zfsbootmenu 7 "2020-11-08" "1.6.1" "ZFSBootMenu" +.TH zfsbootmenu 7 "2020-11-11" "1.7.0" "ZFSBootMenu" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l