Commits

Anonymous committed d1de08f

Run grub-mkdevicemap before installing grub

  • Participants
  • Parent commits 74d7871

Comments (0)

Files changed (1)

vinstall/backend/bootloader.py

         """Install grub to the target
 
         """
+        subprocess.check_call(["grub-mkdevicemap", "--no-floppy"])
         subprocess.check_call(["grub-install", "--no-floppy", self.target])
 
     def test_install(self, config_file, bootdev):
+        subprocess.check_call(["grub-mkdevicemap", "--no-floppy"])
         subprocess.check_call(["grub-install", "--no-floppy", bootdev])