Skip to content

Commit

Permalink
kernel-install.eclass: Improve error message on /boot problems
Browse files Browse the repository at this point in the history
Use the newly-introduced mount-boot.eclass nonfatal support to amend
the error message with the instruction to run 'emerge --config' rather
than rebuild the whole kernel.

Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Jan 16, 2021
1 parent 9201c6c commit 654a962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/kernel-install.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ kernel-install_install_all() {
local success=
# not an actual loop but allows error handling with 'break'
while :; do
mount-boot_pkg_preinst
nonfatal mount-boot_check_status || break

local image_path=$(dist-kernel_get_image_path)
if use initramfs; then
Expand Down

0 comments on commit 654a962

Please sign in to comment.