Commits

Rodrigo Bistolfi  committed b791af7

Install initrd before bootloader

  • Participants
  • Parent commits 1de6657

Comments (0)

Files changed (1)

File vinstall/controller/bootloader.py

         LOG.debug("Bootloader: %s", bootloader)
         LOG.debug("Target; %s", target)
         yield self.set_bind_mounts, tuple(), "Mounting pseudo filesystems"
-        yield self.install_bootloader, (bootloader, target), "Installing bootloader"
-
-        mkinitrd_doc = "Creating initrd"
         yield self.depmod, tuple(), "Running depmod"
-        yield self.mkinitrd, tuple(), mkinitrd_doc
+        yield self.mkinitrd, tuple(), "Creating initrd"
+        yield self.install_bootloader, (bootloader, target), "Installing bootloader"
         yield self.clear_bind_mounts, tuple(), "Clearing bind mounts"
 
     def install_bootloader(self, bloader, target):