projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b8cb015
)
Check for FAT16 only when using --syslinux
author
Michael Prokop
<mika@grml.org>
Mon, 2 Mar 2009 14:59:06 +0000
(15:59 +0100)
committer
Michael Prokop
<mika@grml.org>
Mon, 2 Mar 2009 14:59:06 +0000
(15:59 +0100)
grml2usb
patch
|
blob
|
history
diff --git
a/grml2usb
b/grml2usb
index
3bcaee8
..
cdeaa03
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-881,7
+881,7
@@
def check_for_fat(partition):
raise CriticalException("Failed to read device %s"
" (wrong UID/permissions or device not present?)" % partition)
raise CriticalException("Failed to read device %s"
" (wrong UID/permissions or device not present?)" % partition)
- if filesystem != "vfat":
+ if
options.syslinux and
filesystem != "vfat":
raise CriticalException("Partition %s does not contain a FAT16 filesystem. (Use --fat16 or run mkfs.vfat %s)" % (partition, partition))
except OSError:
raise CriticalException("Partition %s does not contain a FAT16 filesystem. (Use --fat16 or run mkfs.vfat %s)" % (partition, partition))
except OSError: