From: Ulrich Dangel Date: Mon, 26 Oct 2009 11:43:06 +0000 (+0100) Subject: Copy addon*.cfg instead of addon_*.cfg to copy all required files. X-Git-Tag: v0.9.15~3 X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=f8657764a83e41b92fe8d2cf4c500bfffe16c527 Copy addon*.cfg instead of addon_*.cfg to copy all required files. --- diff --git a/grml2usb b/grml2usb index 6a21903..6d0f311 100755 --- a/grml2usb +++ b/grml2usb @@ -1143,7 +1143,7 @@ def copy_bootloader_files(iso_mount, target): logging.critical(" Please visit http://grml.org/grml2usb/#grml2usb-compat for further information.") raise - for filename in 'addons.cfg', 'default.cfg', 'distri.cfg', \ + for filename in 'default.cfg', 'distri.cfg', \ 'grml.cfg', 'grml.png', 'hd.cfg', 'isolinux.cfg', 'isolinux.bin', \ 'isoprompt.cfg', 'options.cfg', \ 'prompt.cfg', 'vesamenu.c32', 'vesamenu.cfg', 'grml.png': @@ -1151,7 +1151,7 @@ def copy_bootloader_files(iso_mount, target): exec_rsync(path, syslinux_target + filename) # copy the addons_*.cfg file to the new syslinux directory - for filename in glob.glob(iso_mount + '/boot/isolinux/' + 'addon_*.cfg'): + for filename in glob.glob(iso_mount + '/boot/isolinux/' + 'addon*.cfg'): exec_rsync(filename, syslinux_target) path = search_file('hidden.cfg', iso_mount + '/boot/isolinux/')