1 |
Use the newly-introduced mount-boot.eclass nonfatal support to amend |
2 |
the error message with the instruction to run 'emerge --config' rather |
3 |
than rebuild the whole kernel. |
4 |
|
5 |
Signed-off-by: Michał Górny <mgorny@g.o> |
6 |
--- |
7 |
eclass/kernel-install.eclass | 2 +- |
8 |
1 file changed, 1 insertion(+), 1 deletion(-) |
9 |
|
10 |
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass |
11 |
index f9b1834266dd..4263ec9f30a1 100644 |
12 |
--- a/eclass/kernel-install.eclass |
13 |
+++ b/eclass/kernel-install.eclass |
14 |
@@ -345,7 +345,7 @@ kernel-install_install_all() { |
15 |
|
16 |
local success= |
17 |
while :; do |
18 |
- mount-boot_pkg_preinst |
19 |
+ nonfatal mount-boot_check_status || break |
20 |
|
21 |
local image_path=$(dist-kernel_get_image_path) |
22 |
if use initramfs; then |
23 |
-- |
24 |
2.30.0 |