projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
791485b
)
Copy bootloader files from /usr/lib/syslinux/ [Closes: 894]
author
Ulrich Dangel
<uli@spamt.net>
Wed, 18 Aug 2010 13:33:39 +0000
(15:33 +0200)
committer
Ulrich Dangel
<uli@spamt.net>
Wed, 18 Aug 2010 13:33:39 +0000
(15:33 +0200)
grml2usb
patch
|
blob
|
history
diff --git
a/grml2usb
b/grml2usb
index
6c74a52
..
89c1f22
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-29,6
+29,7
@@
DATESTAMP = time.mktime(datetime.datetime.now().timetuple()) # unique identifier
GRML_FLAVOURS = set() # which flavours are being installed?
GRML_DEFAULT = None
UUID = None
GRML_FLAVOURS = set() # which flavours are being installed?
GRML_DEFAULT = None
UUID = None
+SYSLINUX_LIBS = "/usr/lib/syslinux/"
def syslinux_warning(option, opt, value, opt_parser):
"""A helper function for printing a warning about deprecated option
def syslinux_warning(option, opt, value, opt_parser):
"""A helper function for printing a warning about deprecated option
@@
-1313,9
+1314,13
@@
def copy_bootloader_files(iso_mount, target, grml_flavour):
for expr in name, 'distri.cfg', \
defaults_file, 'grml.png', 'hd.cfg', 'isolinux.cfg', 'isolinux.bin', \
'isoprompt.cfg', 'options.cfg', \
for expr in name, 'distri.cfg', \
defaults_file, 'grml.png', 'hd.cfg', 'isolinux.cfg', 'isolinux.bin', \
'isoprompt.cfg', 'options.cfg', \
- 'prompt.cfg', 'vesamenu.c
32', 'vesamenu.c
fg', 'grml.png', '*.c32':
+ 'prompt.cfg', 'vesamenu.cfg', 'grml.png', '*.c32':
glob_and_copy(iso_mount + source_dir + expr, syslinux_target)
glob_and_copy(iso_mount + source_dir + expr, syslinux_target)
+ for filename in glob.glob1(syslinux_target, "*.c32"):
+ copy_if_exist(os.path.join(SYSLINUX_LIBS, filename), syslinux_target)
+
+
# copy the addons_*.cfg file to the new syslinux directory
glob_and_copy(iso_mount + source_dir + 'addon*.cfg', syslinux_target)
# copy the addons_*.cfg file to the new syslinux directory
glob_and_copy(iso_mount + source_dir + 'addon*.cfg', syslinux_target)