else:
logging.debug("boot flag is NOT enabled on %s" % device)
raise VerifyException(
- "Device %s does not have the bootflag set. "
+ "Device %s does not have the boot flag set. "
"Please enable it to be able to boot." % device
)
except ImportError:
register_tmpfile(device_mountpoint)
remove_device_mountpoint = True
try:
- check_for_fat(device)
- if not options.skipbootflag:
- check_boot_flag(device)
-
set_rw(device)
mount(device, device_mountpoint, ["-o", "utf8,iocharset=iso8859-1"])
except CriticalException:
# provide upgrade path
handle_compat_warning(device)
+ if not options.skipbootflag:
+ check_boot_flag(device)
+
# check for vfat partition
handle_vfat(device)