X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=632134e42de18be92a33a0781d125d5870861be3;hp=7df0f97821fbe3800a1fb82f994d0dd7ca234582;hb=0199b47c662ba6a5f0b15020d034fa9528a2c1d9;hpb=94a97c69103e01c079ce139540f8e4051aee074d diff --git a/grml2usb b/grml2usb index 7df0f97..632134e 100755 --- a/grml2usb +++ b/grml2usb @@ -1102,6 +1102,12 @@ def copy_bootloader_files(iso_mount, target): bootsplash = search_file(ffile, iso_mount) exec_rsync(bootsplash, syslinux_target + ffile) + if not search_file('default.cfg', iso_mount + '/boot/isolinux/'): + logging.critical("Fatal: file default.cfg could not be found.") + logging.critical("Note: this grml2usb version requires an ISO generated by grml-live >=0.9.24 ...") + logging.critical(" ... either use grml releases >=2009.10 or switch to an older grml2usb version.") + raise + for filename in 'addons.cfg', 'default.cfg', 'distri.cfg', 'hidden.cfg', \ 'grml.cfg', 'grml.png', 'hd.cfg', 'isoprompt.cfg', 'options.cfg', \ 'vesamenu.c32', 'vesamenu.cfg', 'grml.png':