grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 12/15] grub-shell: Add --verbose to mkrescue when $debug is gr


From: Glenn Washburn
Subject: [PATCH v3 12/15] grub-shell: Add --verbose to mkrescue when $debug is greater than 2
Date: Thu, 10 Feb 2022 15:51:29 -0600

Signed-off-by: Glenn Washburn <development@efficientek.com>
---
 tests/util/grub-shell.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in
index a1c7b9265..fe1cf768d 100644
--- a/tests/util/grub-shell.in
+++ b/tests/util/grub-shell.in
@@ -404,7 +404,9 @@ fi
 
 if [ x$boot != xnet ] && [ x$boot != xemu ]; then
     pkgdatadir="@builddir@" \
-    exec_show_error "@builddir@/grub-mkrescue" "--output=${isofile}" \
+    exec_show_error "@builddir@/grub-mkrescue" \
+       ${debug:+$([ "$debug" -gt 2 ] && echo -n "--verbose")} \
+       "--output=${isofile}" \
        "--override-directory=${builddir}/grub-core" \
        --rom-directory="${rom_directory}" \
        --locale-directory="@srcdir@/po" \
-- 
2.27.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]