X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=361e6a08107edc256d6f08edcbb4c03f7dd78c11;hp=f4d054b4408eed21767742e9715bc4468db803c2;hb=3877a01364b2ba0b74fcdb9b9b5ed712a7ac29f7;hpb=96d76e0666a7e58ecf7aedc4a503a3471d132be7 diff --git a/grml2usb b/grml2usb index f4d054b..361e6a0 100755 --- a/grml2usb +++ b/grml2usb @@ -1196,6 +1196,15 @@ def copy_bootloader_files(iso_mount, target): if os.path.isfile("/usr/share/grub/ascii.pf2"): exec_rsync('/usr/share/grub/ascii.pf2', grub_target + 'ascii.pf2') + # always copy grub content as it might be useful + for file in glob.glob(iso_mount + '/boot/grub/*.mod'): + exec_rsync(file, grub_target) + + for file in glob.glob(iso_mount + '/boot/grub/*.img'): + exec_rsync(file, grub_target) + + for file in glob.glob(iso_mount + '/boot/grub/stage*'): + exec_rsync(file, grub_target) def install_iso_files(grml_flavour, iso_mount, device, target): """Copy files from ISO to given target