From 0a6e0b0a13f590907c790094daa57810903c391f Mon Sep 17 00:00:00 2001 From: Ulrich Dangel Date: Mon, 26 Oct 2009 12:31:53 +0100 Subject: [PATCH] Support new addition files for addon menu from grml-live. --- grml2usb | 5 +++++ 1 file changed, 5 insertions(+) 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') -- 2.1.4