Skip to content

Commit

Permalink
zfsbootmenu: print bootenv and kernel just before kexec
Browse files Browse the repository at this point in the history
  • Loading branch information
zdykstra committed Jan 5, 2025
1 parent a504c4a commit ed2272c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zfsbootmenu/lib/zfsbootmenu-core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,8 @@ kexec_kernel() {
# Run teardown hooks, if they exist
env "${hook_envs[@]}" /libexec/zfsbootmenu-run-hooks "teardown.d"

echo -e "\nBooting $( colorize yellow "${kernel}" ) for $( colorize cyan "${fs}" ) ...\n"

if ! output="$( kexec -e -i 2>&1 )"; then
zerror "kexec -e -i failed!"
zerror "${output}"
Expand Down

0 comments on commit ed2272c

Please sign in to comment.