projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1d91b4f
)
Avoid the "file is read only, overwrite anyway (y/n) ?"
author
Michael Prokop
<mika@grml.org>
Mon, 19 Oct 2009 00:13:30 +0000
(
02:13
+0200)
committer
Ulrich Dangel
<uli@spamt.net>
Mon, 19 Oct 2009 23:05:47 +0000
(
01:05
+0200)
debian/changelog
patch
|
blob
|
history
grml2usb
patch
|
blob
|
history
diff --git
a/debian/changelog
b/debian/changelog
index
f089948
..
05bca1b
100644
(file)
--- a/
debian/changelog
+++ b/
debian/changelog
@@
-18,8
+18,10
@@
grml2usb (0.9.13) UNRELEASED; urgency=low
his future[tm] work.
* Raise CriticalException if filesystem.module, kernel or
initrd are not present.
his future[tm] work.
* Raise CriticalException if filesystem.module, kernel or
initrd are not present.
+ * Avoid the "file is read only, overwrite anyway (y/n) ?"
+ question of mtools by syslinux.
- -- Michael Prokop <mika@grml.org> Mon, 19 Oct 2009 0
0:54:04
+0200
+ -- Michael Prokop <mika@grml.org> Mon, 19 Oct 2009 0
2:13:02
+0200
grml2usb (0.9.12) unstable; urgency=low
grml2usb (0.9.12) unstable; urgency=low
diff --git
a/grml2usb
b/grml2usb
index
46a6674
..
8ffe71f
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-1110,6
+1110,11
@@
def copy_bootloader_files(iso_mount, target):
bootsplash = search_file(ffile, iso_mount)
exec_rsync(bootsplash, syslinux_target + ffile)
bootsplash = search_file(ffile, iso_mount)
exec_rsync(bootsplash, syslinux_target + ffile)
+ # avoid the "file is read only, overwrite anyway (y/n) ?" question
+ # of mtools by syslinux ("mmove -D o -D O s:/ldlinux.sys $target_file")
+ if os.path.isfile(syslinux_target + 'ldlinux.sys'):
+ os.unlink(syslinux_target + 'ldlinux.sys')
+
if not search_file('default.cfg', iso_mount + '/boot/isolinux/'):
logging.critical("Fatal: file default.cfg could not be found.")
logging.critical("Note: this grml2usb version requires an ISO generated by grml-live >=0.9.24 ...")
if not search_file('default.cfg', iso_mount + '/boot/isolinux/'):
logging.critical("Fatal: file default.cfg could not be found.")
logging.critical("Note: this grml2usb version requires an ISO generated by grml-live >=0.9.24 ...")