]> git.ipfire.org Git - thirdparty/grub.git/commit
util/grub-install-common: Print usable grub-mkimage command
authorGlenn Washburn <development@efficientek.com>
Fri, 22 Sep 2023 19:34:18 +0000 (14:34 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 3 Oct 2023 13:37:13 +0000 (15:37 +0200)
commit28a509dd58cee75e43f19e38ff4c5787048aecb9
tree5904ea0c455a7ddf0764435c671b55114435ef42
parent1c2e1623068719941963dc34da6f927bafdbdbec
util/grub-install-common: Print usable grub-mkimage command

When grub-install is run with the verbose option, it will print a log
message indicating the grub-mkimage command and arguments used.
GRUB no longer calls the grub-mkimage binary internally, however the
command logged is a command that if run should effectively be what
grub-install used. However, as this has changed some of the newer
options have been incorrectly added so that the printed command fails
when run separately. This change makes the displayed command run as
intended.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
util/grub-install-common.c