X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=6a2190336afa23a224a828ecca108680951183f2;hp=31cf05bb37dd114f6bb7b0d4fa608d280a6c53af;hb=0a6e0b0a13f590907c790094daa57810903c391f;hpb=b5b9182aed0cd5b4788aee58026fbbf0fe71d336 diff --git a/grml2usb b/grml2usb index 31cf05b..6a21903 100755 --- a/grml2usb +++ b/grml2usb @@ -17,6 +17,7 @@ from optparse import OptionParser from inspect import isroutine, isclass import datetime, logging, os, re, subprocess, sys, tempfile, time, os.path import fileinput +import glob # global variables PROG_VERSION = "0.9.14" @@ -1149,6 +1150,10 @@ def copy_bootloader_files(iso_mount, target): path = search_file(filename, iso_mount + '/boot/isolinux/') 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'): + exec_rsync(filename, syslinux_target) + path = search_file('hidden.cfg', iso_mount + '/boot/isolinux/') exec_rsync(path, syslinux_target + "new_" + 'hidden.cfg')