tests/util/grub-shell: Add --verbose to grub-mkrescue when $debug is greater than 2
Since this is fairly verbose output, do not enable first level of debug is turned on. Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
7a994c87f5
commit
79ccfa90a1
@ -422,7 +422,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" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user