import struct
# global variables
-PROG_VERSION = "0.9.26"
+PROG_VERSION = "0.9.27~git"
MOUNTED = set() # register mountpoints
TMPFILES = set() # register tmpfiles
DATESTAMP = time.mktime(datetime.datetime.now().timetuple()) # unique identifier for syslinux.cfg
grub_device = device
logging.info("Installing grub as bootloader")
- logging.debug("grub-install --recheck --no-floppy --root-directory=%s %s",
+ logging.debug("grub-install --recheck --force --no-floppy --root-directory=%s %s",
device_mountpoint, grub_device)
proc = subprocess.Popen(["grub-install", "--recheck", "--force", "--no-floppy",
"--root-directory=%s" % device_mountpoint, grub_device],