Search for isolinux files in /boot/isolinux/ so the correct grml.png is used
authorMichael Prokop <mika@grml.org>
Sun, 18 Oct 2009 22:50:45 +0000 (00:50 +0200)
committerMichael Prokop <mika@grml.org>
Sun, 18 Oct 2009 22:50:45 +0000 (00:50 +0200)
grml2usb

index 2bb5439..7df0f97 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -1102,8 +1102,10 @@ def copy_bootloader_files(iso_mount, target):
         bootsplash = search_file(ffile, iso_mount)
         exec_rsync(bootsplash, syslinux_target + ffile)
 
         bootsplash = search_file(ffile, iso_mount)
         exec_rsync(bootsplash, syslinux_target + ffile)
 
-    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':
-        path = search_file(filename, iso_mount)
+    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':
+        path = search_file(filename, iso_mount + '/boot/isolinux/')
         exec_rsync(path, syslinux_target + filename)
 
     grub_target = target + '/boot/grub/'
         exec_rsync(path, syslinux_target + filename)
 
     grub_target = target + '/boot/grub/'