X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=4b706cc798906873df08f7d5fe3f646b1da3431d;hp=14b768fc60fbbb1f4a68724c7e06779ca1b60313;hb=b1bf09cbc587d164be94ae5a57b8f373059a3281;hpb=b60a4540f5483b19feca6a6c1e25e3eb2207c1fb diff --git a/grml2usb b/grml2usb index 14b768f..4b706cc 100755 --- a/grml2usb +++ b/grml2usb @@ -1150,10 +1150,18 @@ def copy_bootloader_files(iso_mount, target, grml_flavour): grub_target = target + '/boot/grub/' execute(mkdir, grub_target) - logo = search_file('logo.16', iso_mount) exec_rsync(logo, syslinux_target + 'logo.16') + bootx64_efi = search_file('bootx64.efi', iso_mount) + if bootx64_efi: + mkdir(target + '/efi/boot/') + exec_rsync(bootx64_efi, target + '/efi/boot/bootx64.efi') + + efi_img = search_file('efi.img', iso_mount) + if efi_img: + mkdir(target + '/boot/') + exec_rsync(efi_img, target + '/boot/efi.img') for ffile in ['f%d' % number for number in range(1, 11) ]: search_and_copy(ffile, iso_mount, syslinux_target + ffile)