projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
96d76e0
)
Always copy grub files.
author
Ulrich Dangel
<uli@spamt.net>
Wed, 28 Oct 2009 22:05:15 +0000
(23:05 +0100)
committer
Ulrich Dangel
<uli@spamt.net>
Wed, 28 Oct 2009 22:45:39 +0000
(23:45 +0100)
grml2usb
patch
|
blob
|
history
diff --git
a/grml2usb
b/grml2usb
index
f4d054b
..
361e6a0
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-1196,6
+1196,15
@@
def copy_bootloader_files(iso_mount, target):
if os.path.isfile("/usr/share/grub/ascii.pf2"):
exec_rsync('/usr/share/grub/ascii.pf2', grub_target + 'ascii.pf2')
if os.path.isfile("/usr/share/grub/ascii.pf2"):
exec_rsync('/usr/share/grub/ascii.pf2', grub_target + 'ascii.pf2')
+ # always copy grub content as it might be useful
+ for file in glob.glob(iso_mount + '/boot/grub/*.mod'):
+ exec_rsync(file, grub_target)
+
+ for file in glob.glob(iso_mount + '/boot/grub/*.img'):
+ exec_rsync(file, grub_target)
+
+ for file in glob.glob(iso_mount + '/boot/grub/stage*'):
+ exec_rsync(file, grub_target)
def install_iso_files(grml_flavour, iso_mount, device, target):
"""Copy files from ISO to given target
def install_iso_files(grml_flavour, iso_mount, device, target):
"""Copy files from ISO to given target