Do not fail if ISO doesn't have grub.cfg inside efi.img
authorMichael Prokop <mika@grml.org>
Tue, 23 Jun 2020 13:48:08 +0000 (15:48 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 23 Jun 2020 13:49:56 +0000 (15:49 +0200)
commitb1798d19e92f6c87fb9850e9805e68df6c789646
tree268bee5dc0bf2fde71e76ec4776c00bca1cd59d5
parent92ffc08bb28f73c79f195ded2fba02eeebfe925b
Do not fail if ISO doesn't have grub.cfg inside efi.img

If an ISO doesn't support Secure Boot then the grub.cfg file doesn't
exist inside the efi.img, so we shouldn't continue with its execution.
Use search_file() instead which is unset if the file doesn't exist and
therefore execution gets skipped.

Follow up fix for commit 92ffc08bb28f73c
grml2usb