|
|
8e15ce |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
8e15ce |
From: Javier Martinez Canillas <javierm@redhat.com>
|
|
|
8e15ce |
Date: Tue, 9 Apr 2019 12:42:37 +0200
|
|
|
8e15ce |
Subject: [PATCH] Print grub-emu linux loader messages as debug
|
|
|
8e15ce |
|
|
|
8e15ce |
They just polute the output and should better be debug messages instead.
|
|
|
8e15ce |
|
|
|
8e15ce |
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
|
|
|
8e15ce |
---
|
|
|
8e15ce |
grub-core/loader/emu/linux.c | 4 ++--
|
|
|
8e15ce |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
8e15ce |
|
|
|
8e15ce |
diff --git a/grub-core/loader/emu/linux.c b/grub-core/loader/emu/linux.c
|
|
|
8e15ce |
index 5b85b225eed..22ab6af1727 100644
|
|
|
8e15ce |
--- a/grub-core/loader/emu/linux.c
|
|
|
8e15ce |
+++ b/grub-core/loader/emu/linux.c
|
|
|
8e15ce |
@@ -50,7 +50,7 @@ grub_linux_boot (void)
|
|
|
8e15ce |
initrd_param = grub_xasprintf("%s", "");
|
|
|
8e15ce |
}
|
|
|
8e15ce |
|
|
|
8e15ce |
- grub_printf("%serforming 'kexec -l %s %s %s'\n",
|
|
|
8e15ce |
+ grub_dprintf ("linux", "%serforming 'kexec -l %s %s %s'\n",
|
|
|
8e15ce |
(kexecute) ? "P" : "Not p",
|
|
|
8e15ce |
kernel_path, initrd_param, boot_cmdline);
|
|
|
8e15ce |
|
|
|
8e15ce |
@@ -67,7 +67,7 @@ grub_linux_boot (void)
|
|
|
8e15ce |
if (kexecute < 1)
|
|
|
8e15ce |
grub_fatal (N_("Use '"PACKAGE"-emu --kexec' to force a system restart."));
|
|
|
8e15ce |
|
|
|
8e15ce |
- grub_printf("Performing 'systemctl kexec' (%s) ",
|
|
|
8e15ce |
+ grub_dprintf ("linux", "Performing 'systemctl kexec' (%s) ",
|
|
|
8e15ce |
(kexecute==1) ? "do-or-die" : "just-in-case");
|
|
|
8e15ce |
rc = grub_util_exec (systemctl);
|
|
|
8e15ce |
|