projects
/
grml2usb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not fail if ISO doesn't have grub.cfg inside efi.img
[grml2usb.git]
/
grml2usb
diff --git
a/grml2usb
b/grml2usb
index
0199fd6
..
d206f1d
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-1760,7
+1760,7
@@
def handle_secure_boot(target, efi_img):
logging.critical("Fatal: %s", error)
sys.exit(1)
logging.critical("Fatal: %s", error)
sys.exit(1)
- grub_cfg =
efi_mountpoint + "/boot/grub/grub.cfg"
+ grub_cfg =
search_file("grub.cfg", efi_mountpoint + "/boot/grub/")
logging.debug("grub_cfg = %s" % grub_cfg)
if not grub_cfg:
logging.info(
logging.debug("grub_cfg = %s" % grub_cfg)
if not grub_cfg:
logging.info(