1. Moises Henriquez
  2. vinstall

Commits

M0E-lnx  committed d1de08f

Run grub-mkdevicemap before installing grub

  • Participants
  • Parent commits 74d7871
  • Branches master

Comments (0)

Files changed (1)

File vinstall/backend/bootloader.py

View file
  • Ignore whitespace
         """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])