projects
/
grml2usb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Skip boot flag check when installing to directory
[grml2usb.git]
/
grml2usb
diff --git
a/grml2usb
b/grml2usb
index
6a8ada2
..
749fcd1
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-503,6
+503,12
@@
def get_partition_for_path(path):
def check_boot_flag(device):
+ if os.path.isdir(device):
+ logging.debug(
+ "Device %s is a directory, skipping check for boot flag." % device
+ )
+ return
+
boot_dev, x = get_device_from_partition(device)
logging.info("Checking for boot flag")