X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=3bcaee82cc9d6e2e5d22f12c61014dfc3f554ab8;hp=2f9fb8780241fcb73aa1230059d71838ff10a878;hb=ac64543d023c099d798554a5802868c9e449edc3;hpb=a77a833735d806dada52650aaf0d885fe7abdbf0 diff --git a/grml2usb b/grml2usb index 2f9fb87..3bcaee8 100755 --- a/grml2usb +++ b/grml2usb @@ -1077,15 +1077,6 @@ def copy_bootloader_files(iso_mount, target): grub_target + 'ascii.pff']) proc.wait() - if not os.path.isfile("/usr/share/grml2usb/grub/stage2_eltorito"): - logging.critical("Error: /usr/share/grml2usb/grub/stage2_eltorito can not be read.") - raise - else: - logging.debug("cp /usr/share/grml2usb/grub/stage2_eltorito to %s" % grub_target + 'stage2_eltorito') - proc = subprocess.Popen(["install", "--mode=664", '/usr/share/grml2usb/grub/stage2_eltorito', - grub_target + 'stage2_eltorito']) - proc.wait() - def install_iso_files(grml_flavour, iso_mount, device, target): """Copy files from ISO on given target"""