Commits

Rodrigo Bistolfi committed 0d3edba

Outline for live install kernel routine

Comments (0)

Files changed (1)

vinstall/controller/automatic.py

         if self.is_live():
             installpkg = self.live_installpkg
             packages = self.live_packages
+            install_kernel = self.live_install_kernel
         else:
             installpkg = self.installpkg
             packages = self.packages
+            install_kernel = self.install_kernel
 
         yield self.partitioning, (disk,), "Partitioning %s" % disk
         yield self.format_partitions, (disk,), "Formating partitions"
         if not self.is_live():
             yield self.postinstall, tuple(), "Installing setup routines"
         
-        yield self.install_kernel, tuple(), "Installing Linux kernel"
+        yield install_kernel, tuple(), "Installing Linux kernel"
 
         yield self.set_bind_mounts, tuple(), "Mounting pseudo filesystems"
         yield self.fstab, (disk,), "Creating fstab"
         command = "/usr/bin/xzm2dir %s --root=%s" % (package, "/mnt/TARGET")
         subprocess.check_call(command.split())
 
+    def live_install_kernel(self):
+        """Install Linux image from a Live install media
+        
+        """
+        return NotImplemented
+
     def fstab(self, disk):
         """Create and install a fstab file in disk
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.